Subversion Repositories cheapmusic

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
103 - 1
<?php
2
echo showSectionHead($spTextPanel['Import Websites'] . "({$spTextTools['webmaster-tools']})");
3
 
4
if (!empty($msg)) {
5
	?>
6
	<p class="dirmsg">
7
		<font class="success"><?php echo $msg?></font>
8
	</p>
9
	<?php
10
}
11
 
12
if(!empty($validationMsg)){
13
	?>
14
	<p class="dirmsg">
15
		<font class="error"><?php echo $validationMsg?></font>
16
	</p>
17
	<?php
18
	}
19
?>
20
 
21
<form id="projectform">
22
<input type="hidden" name="sec" value="importWebmasterTools"/>
23
<table id="cust_tab">
24
	<tr class="form_head">
25
		<th width="40%"><?php echo $spTextPanel['Import Websites']; ?></th>
26
		<th>&nbsp;</th>
27
	</tr>
28
	<?php if(!empty($isAdmin)){ ?>
29
		<tr class="form_data">
30
			<td><?php echo $spText['common']['User']?>:</td>
31
			<td>
32
				<select name="userid" style="width:150px;">
33
					<?php foreach($userList as $userInfo){?>
34
						<?php if($userInfo['id'] == $userSelected){?>
35
							<option value="<?php echo $userInfo['id']?>" selected><?php echo $userInfo['username']?></option>
36
						<?php }else{?>
37
							<option value="<?php echo $userInfo['id']?>"><?php echo $userInfo['username']?></option>
38
						<?php }?>
39
					<?php }?>
40
				</select>
41
			</td>
42
		</tr>
43
	<?php } else { ?>
44
		<tr class="form_data">
45
			<td><?php echo $spText['common']['User']?>:</td>
46
			<td><?php echo $userName?></td>
47
		</tr>
48
	<?php }?>
49
</table>
50
<br>
51
<table width="100%" class="actionSec">
52
	<tr>
53
    	<td style="padding-top: 6px;text-align:right;">
54
    		<a onclick="scriptDoLoad('websites.php', 'content')" href="javascript:void(0);" class="actionbut">
55
         		<?php echo $spText['button']['Cancel']?>
56
         	</a>&nbsp;
57
         	<?php $actFun = SP_DEMO ? "alertDemoMsg()" : "confirmSubmit('websites.php', 'projectform', 'import_result_div')"; ?>
58
         	<a onclick="<?php echo $actFun?>" href="javascript:void(0);" class="actionbut">
59
         		<?php echo $spText['button']['Proceed']?>
60
         	</a>
61
    	</td>
62
	</tr>
63
</table>
64
</form>
65
<div id="import_result_div"></div>