103 |
- |
1 |
<?php echo showSectionHead($spTextKeyword['Import Keywords']); ?>
|
|
|
2 |
<?php if(!empty($validationMsg)){
|
|
|
3 |
?>
|
|
|
4 |
<p class="dirmsg">
|
|
|
5 |
<font class="error"><?php echo $validationMsg?></font>
|
|
|
6 |
</p>
|
|
|
7 |
<?php
|
|
|
8 |
}
|
|
|
9 |
?>
|
|
|
10 |
<form id="newKeyword">
|
|
|
11 |
<input type="hidden" name="sec" value="import"/>
|
|
|
12 |
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="list">
|
|
|
13 |
<tr class="listHead">
|
|
|
14 |
<td class="left" width='30%'><?php echo $spTextKeyword['Import Keywords']?></td>
|
|
|
15 |
<td class="right"> </td>
|
|
|
16 |
</tr>
|
|
|
17 |
<tr class="blue_row">
|
|
|
18 |
<td class="td_left_col"><?php echo $spText['common']['Website']?>:</td>
|
|
|
19 |
<td class="td_right_col">
|
|
|
20 |
<select name="website_id" id="website_id" onchange="doLoad('website_id', 'websites.php', 'weburlarea', 'sec=updateurl')">
|
|
|
21 |
<?php foreach($websiteList as $websiteInfo){?>
|
|
|
22 |
<?php if($websiteInfo['id'] == $post['website_id']){
|
|
|
23 |
$websiteUrl = $websiteInfo['url'];
|
|
|
24 |
?>
|
|
|
25 |
<option value="<?php echo $websiteInfo['id']?>" selected><?php echo $websiteInfo['name']?></option>
|
|
|
26 |
<?php }else{?>
|
|
|
27 |
<option value="<?php echo $websiteInfo['id']?>"><?php echo $websiteInfo['name']?></option>
|
|
|
28 |
<?php }?>
|
|
|
29 |
<?php }?>
|
|
|
30 |
</select>
|
|
|
31 |
<span id="weburlarea"><input type="hidden" name="weburl" id="weburl" value="<?php echo $websiteUrl?>"></span>
|
|
|
32 |
<a style="text-decoration: none;" href="javascript:void(0);" onclick="crawlMetaData('websites.php?sec=crawlmeta&keyinput=keywords', 'crawlstats')">«« <?php echo $spText['common']['Crawl Meta Data']?></a>
|
|
|
33 |
<div id="crawlstats" style="float: right;padding-right:100px;"></div>
|
|
|
34 |
<?php echo $errMsg['website_id']?>
|
|
|
35 |
</td>
|
|
|
36 |
</tr>
|
|
|
37 |
<tr class="white_row">
|
|
|
38 |
<td class="td_left_col"><?php echo $spText['common']['lang']?>:</td>
|
|
|
39 |
<td class="td_right_col">
|
|
|
40 |
<?php echo $this->render('language/languageselectbox', 'ajax'); ?>
|
|
|
41 |
</td>
|
|
|
42 |
</tr>
|
|
|
43 |
<tr class="blue_row">
|
|
|
44 |
<td class="td_left_col"><?php echo $spText['common']['Country']?>:</td>
|
|
|
45 |
<td class="td_right_col">
|
|
|
46 |
<?php echo $this->render('country/countryselectbox', 'ajax'); ?>
|
|
|
47 |
</td>
|
|
|
48 |
</tr>
|
|
|
49 |
<?php $post['searchengines'] = is_array($post['searchengines']) ? $post['searchengines'] : array(); ?>
|
|
|
50 |
<tr class="white_row">
|
|
|
51 |
<td class="td_left_col"><?php echo $spText['common']['Search Engine']?>:</td>
|
|
|
52 |
<td class="td_right_col">
|
|
|
53 |
<select name="searchengines[]" class="multi" multiple="multiple" id="searchengines">
|
|
|
54 |
<?php foreach($seList as $seInfo){?>
|
|
|
55 |
<?php $selected = in_array($seInfo['id'], $post['searchengines']) ? "selected" : ""?>
|
|
|
56 |
<option value="<?php echo $seInfo['id']?>" <?php echo $selected?>><?php echo $seInfo['domain']?></option>
|
|
|
57 |
<?php }?>
|
|
|
58 |
</select>
|
|
|
59 |
<?php echo $errMsg['searchengines']?>
|
|
|
60 |
<br>
|
|
|
61 |
<input type="checkbox" id="select_all" onclick="selectAllOptions('searchengines', true); $('clear_all').checked=false;"> <?php echo $spText['label']['Select All']?>
|
|
|
62 |
|
|
|
63 |
<input type="checkbox" id="clear_all" onclick="selectAllOptions('searchengines', false); $('select_all').checked=false;"> <?php echo $spText['label']['Clear All']?>
|
|
|
64 |
</td>
|
|
|
65 |
</tr>
|
|
|
66 |
<tr class="white_row">
|
|
|
67 |
<td class="td_left_col"><?php echo $spText['common']['Keywords']?>:</td>
|
|
|
68 |
<td class="td_right_col">
|
|
|
69 |
<textarea name="keywords" rows="10" id="webkeywords"><?php echo $post['keywords']?></textarea>
|
|
|
70 |
<p><?php echo $errMsg['keywords']?></p>
|
|
|
71 |
<p style="font-size: 12px;"><?php echo $spTextKeyword['Insert keywords separated with comma']?></p>
|
|
|
72 |
<P><b>Eg:</b> google seo tools,seo tools,seo</P>
|
|
|
73 |
</td>
|
|
|
74 |
</tr>
|
|
|
75 |
<tr class="blue_row">
|
|
|
76 |
<td class="tab_left_bot_noborder"></td>
|
|
|
77 |
<td class="tab_right_bot"></td>
|
|
|
78 |
</tr>
|
|
|
79 |
<tr class="listBot">
|
|
|
80 |
<td class="left" colspan="1"></td>
|
|
|
81 |
<td class="right"></td>
|
|
|
82 |
</tr>
|
|
|
83 |
</table>
|
|
|
84 |
<table width="100%" cellspacing="0" cellpadding="0" border="0" class="actionSec">
|
|
|
85 |
<tr>
|
|
|
86 |
<td style="padding-top: 6px;text-align:right;">
|
|
|
87 |
<a onclick="scriptDoLoad('keywords.php', 'content')" href="javascript:void(0);" class="actionbut">
|
|
|
88 |
<?php echo $spText['button']['Cancel']?>
|
|
|
89 |
</a>
|
|
|
90 |
<?php $actFun = SP_DEMO ? "alertDemoMsg()" : "scriptDoLoadPost('keywords.php', 'newKeyword', 'content')"; ?>
|
|
|
91 |
<a onclick="<?php echo $actFun?>" href="javascript:void(0);" class="actionbut">
|
|
|
92 |
<?php echo $spText['button']['Proceed']?>
|
|
|
93 |
</a>
|
|
|
94 |
</td>
|
|
|
95 |
</tr>
|
|
|
96 |
</table>
|
|
|
97 |
</form>
|