Subversion Repositories cheapmusic

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
103 - 1
<?php echo showSectionHead($spTextTools['Auditor Reports']); ?>
2
<?php
3
if(empty($projectId)) {
4
	showErrorMsg($spTextSA['No active projects found'].'!');
5
}
6
$submitJsFunc = "scriptDoLoadPost('siteauditor.php', 'search_form', 'subcontent', '&sec=showreport')";
7
?>
8
<form id='search_form' onsubmit="<?php echo $submitJsFunc; ?>; return false;">
9
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="search">
10
	<tr>
11
		<th><?php echo $spText['label']['Project']?>: </th>
12
		<td>
13
			<select id="project_id" name="project_id" onchange="<?php echo $submitJsFunc?>" style="width: 180px;">
14
				<?php foreach($projectList as $list) {?>
15
					<?php if($list['id'] == $projectId) {?>
16
						<option value="<?php echo $list['id']?>" selected="selected"><?php echo $list['name']?></option>
17
					<?php } else {?>
18
						<option value="<?php echo $list['id']?>"><?php echo $list['name']?></option>
19
					<?php }?>
20
				<?php }?>
21
			</select>
22
		</td>
23
		<th><?php echo $spText['label']['Report Type']?>: </th>
24
		<td width="200px;">
25
			<select name="report_type" id="report_type" onchange="<?php echo $submitJsFunc?>">
26
				<?php foreach($reportTypes as $type => $label) {
27
				    $selected = ($type == $repType) ? "selected" : "";
28
				    ?>
29
					<option value="<?php echo $type?>" <?php echo $selected?>><?php echo $label?></option>
30
				<?php }?>
31
			</select>
32
		</td>
33
		<th><?php echo $spTextSA['Crawled']?>: </th>
34
		<td>
35
			<select name="crawled" id="crawled" onchange="<?php echo $submitJsFunc?>">
36
				<option value="-1">-- <?php echo $spText['common']['Select']?> --</option>
37
				<option value="0"><?php echo $spText['common']['No']?></option>
38
				<option value="1" selected><?php echo $spText['common']['Yes']?></option>
39
			</select>
40
		</td>
41
	</tr>
42
	<tr>
43
		<th><?php echo $spTextSA['Page Link']?>: </th>
44
		<td style="width: 50px;">
45
			<input type="text" name="page_url" value="" onblur="<?php echo $submitJsFunc?>" style="width: 180px;">
46
		</td>
47
		<th><?php echo $spText['common']['MOZ Rank']?>: </th>
48
		<td>
49
			<select name="pagerank" onchange="<?php echo $submitJsFunc?>">
50
				<option value="-1">-- <?php echo $spText['common']['Select']?> --</option>
51
				<?php for($i=0;$i<=10;$i++) {?>
52
					<option value="<?php echo $i?>">PR<?php echo $i?></option>
53
				<?php }?>
54
			</select>
55
		</td>
56
		<td colspan="2">
57
			<a href="javascript:void(0);" onclick="<?php echo $submitJsFunc?>" class="actionbut"><?php echo $spText['button']['Show Records']?></a>
58
		</td>
59
	</tr>
60
</table>
61
</form>
62
<div id='subcontent'>
63
	<script><?php echo $submitJsFunc?></script>
64
</div>