Subversion Repositories cheapmusic

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
103 - 1
<?php echo showSectionHead($spTextPanel['New User Type']); ?>
2
<?php if(!empty($msg)){
3
	?>
4
	<p class="dirmsg">
5
		<font class="success"><?php echo $msg?></font>
6
	</p>
7
	<?php
8
	}
9
?>
10
<?php $post['url'] = empty($post['url']) ? "http://" : $post['url']; ?>
11
<form id="newUserType">
12
<input type="hidden" name="sec" value="create"/>
13
<table id="cust_tab">
14
	<tr class="form_head">
15
		<th width='30%'><?php echo $spTextPanel['New User Type']?></th>
16
		<th>&nbsp;</th>
17
	</tr>
18
	<tr class="form_data">
19
		<td><?php echo $spText['common']['Name']?>:</td>
20
		<td><input type="text" name="user_type" value="<?php echo $post['user_type']?>"><?php echo $errMsg['user_type']?></td>
21
	</tr>
22
	<tr class="form_data">
23
		<td><?php echo $spText['label']['Description']?>:</td>
24
		<td><textarea name="description" id="usertypedescription"><?php echo $post['description']?></textarea><?php echo $errMsg['description']?></td>
25
	</tr>
26
	<tr class="form_data">
27
		<td><?php echo $spText['common']['Keywords Count']?>:</td>
28
		<td>
29
			<input type="number" name="keywordcount" id="keywordcount" value="<?php echo $post['keywordcount']?>"><?php echo $errMsg['keywordcount']?>
30
			<p><?php echo $spTextSubscription['infinite_limit_text']?></p>
31
		</td>
32
	</tr>
33
	<tr class="form_data">
34
		<td><?php echo $spText['common']['Websites Count']?>:</td>
35
		<td>
36
			<input type="number" name="websitecount" id="websitecount" value="<?php echo $post['websitecount']?>"><?php echo $errMsg['websitecount']?>
37
			<p><?php echo $spTextSubscription['infinite_limit_text']?></p>
38
		</td>
39
	</tr>
40
 
41
	<tr class="form_data">
42
		<td><?php echo $spTextSubscription['Social Media Link Count']?>:</td>
43
		<td>
44
			<input type="number" name="social_media_link_count" id="social_media_link_count" value="<?php echo $post['social_media_link_count']?>">
45
			<?php echo $errMsg['social_media_link_count']?>
46
			<p><?php echo $spTextSubscription['infinite_limit_text']?></p>
47
		</td>
48
	</tr>
49
 
50
	<tr class="form_data">
51
		<td><?php echo $spTextSubscription['Review Link Count']?>:</td>
52
		<td>
53
			<input type="number" name="review_link_count" id="review_link_count" value="<?php echo $post['review_link_count']?>">
54
			<?php echo $errMsg['review_link_count']?>
55
			<p><?php echo $spTextSubscription['infinite_limit_text']?></p>
56
		</td>
57
	</tr>
58
 
59
	<tr class="form_data">
60
		<td><?php echo $spText['common']['Search Engine Count']?>:</td>
61
		<td>
62
			<input type="number" name="searchengine_count" id="searchengine_count" value="<?php echo $post['searchengine_count']?>">
63
			<?php echo $errMsg['searchengine_count']?>
64
			<p><?php echo $spTextSubscription['infinite_limit_text']?></p>
65
		</td>
66
	</tr>
67
 
68
	<tr class="form_data">
69
		<td><?php echo $spTextSubscription['Directory Submit Limit']?>:</td>
70
		<td>
71
			<input type="number" name="directory_submit_limit" id="directory_submit_limit" value="<?php echo $post['directory_submit_limit']?>">
72
			<?php echo $errMsg['directory_submit_limit']?>
73
			<p><?php echo $spTextSubscription['infinite_limit_text']?></p>
74
		</td>
75
	</tr>
76
 
77
	<tr class="form_data">
78
		<td><?php echo $spTextSubscription['Directory Submit Daily Limit']?>:</td>
79
		<td>
80
			<input type="number" name="directory_submit_daily_limit" id="directory_submit_daily_limit" value="<?php echo $post['directory_submit_daily_limit']?>">
81
			<?php echo $errMsg['directory_submit_daily_limit']?>
82
			<p><?php echo $spTextSubscription['infinite_limit_text']?></p>
83
		</td>
84
	</tr>
85
 
86
	<tr class="form_data">
87
		<td><?php echo $spTextSubscription['site_auditor_max_page_limit']?>:</td>
88
		<td>
89
			<input type="number" name="site_auditor_max_page_limit" id="site_auditor_max_page_limit" value="<?php echo $post['site_auditor_max_page_limit']?>">
90
			<?php echo $errMsg['site_auditor_max_page_limit']?>
91
		</td>
92
	</tr>
93
 
94
	<?php if ($isPluginSubsActive) {?>
95
		<tr class="form_data">
96
			<td><?php echo $spText['common']['Price']?>(<?php echo $spText['label']['Monthly']?>):</td>
97
			<td><?php echo $currencyList[SP_PAYMENT_CURRENCY]['symbol']; ?><input type="text" name="price" id="price" value="<?php echo $post['price']?>"><?php echo $errMsg['price']?></td>
98
		</tr>
99
		<tr class="form_data">
100
			<td><?php echo $spTextSubscription['free_trial_period']?>(<?php echo $spText['label']['Days']?>):</td>
101
			<td>
102
				<input type="text" name="free_trial_period" id="free_trial_period" value="<?php echo $post['free_trial_period']?>"><?php echo $errMsg['free_trial_period']?>
103
			</td>
104
		</tr>
105
	<?php }?>
106
	<tr class="form_data">
107
		<td><?php echo $spTextSubscription['enable_email_activation']?>:</td>
108
		<td>
109
			<select name="enable_email_activation" id="enable_email_activation">
110
				<option value="0"><?php echo $_SESSION['text']['common']['No']?></option>
111
				<option value="1"><?php echo $_SESSION['text']['common']['Yes']?></option>
112
			</select>
113
		</td>
114
	</tr>
115
	<tr class="form_data">
116
		<td><?php echo $spText['common']['Status']?>:</td>
117
		<td>
118
			<select name="user_type_status" id="user_type_status">
119
				<option value="1"><?php echo $_SESSION['text']['common']['Active']?></option>
120
				<option value="0"><?php echo $_SESSION['text']['common']['Inactive']?></option>
121
			</select>
122
		</td>
123
	</tr>
124
 
125
	<tr class="form_data"><th colspan="2"><?php echo $spTextSubscription['Plugin Access Settings']?></th></tr>
126
	<?php
127
	foreach ($pluginAccessList as $i => $pluginInfo) {
128
		$selectYes = $pluginInfo['value'] ? " selected" : "";
129
		?>
130
		<tr class="form_data">
131
			<td><?php echo $pluginInfo['label']?>:</td>
132
			<td>
133
				<select  name="<?php echo $pluginInfo['name']?>">
134
					<option value="0"><?php echo $spText['common']['No']?></option>
135
					<option value="1" <?php echo $selectYes?>><?php echo $spText['common']['Yes']?></option>
136
				</select>
137
				<?php echo $errMsg[$pluginInfo['name']]?>
138
			</td>
139
		</tr>
140
	<?php }?>
141
 
142
	<tr class="form_data"><th colspan="2"><?php echo $spTextSubscription['Seo Tools Access Settings']?></th></tr>
143
	<?php
144
	foreach ($toolAccessList as $i => $toolInfo) {
145
		$selectYes = $toolInfo['value'] ? " selected" : "";
146
		?>
147
		<tr class="form_data">
148
			<td><?php echo $toolInfo['label']?>:</td>
149
			<td>
150
				<select  name="<?php echo $toolInfo['name']?>">
151
					<option value="0"><?php echo $spText['common']['No']?></option>
152
					<option value="1" <?php echo $selectYes?>><?php echo $spText['common']['Yes']?></option>
153
				</select>
154
				<?php echo $errMsg[$toolInfo['name']]?>
155
			</td>
156
		</tr>
157
	<?php }?>
158
</table>
159
<br>
160
<table width="100%" class="actionSec">
161
	<tr>
162
    	<td style="padding-top: 6px;text-align:right;">
163
    		<a onclick="scriptDoLoad('user-types-manager.php', 'content')" href="javascript:void(0);" class="actionbut">
164
         		<?php echo $spText['button']['Cancel']?>
165
         	</a>&nbsp;
166
         	<?php $actFun = SP_DEMO ? "alertDemoMsg()" : "scriptDoLoadPost('user-types-manager.php', 'newUserType', 'content')"; ?>
167
         	<a onclick="<?php echo $actFun?>" href="javascript:void(0);" class="actionbut">
168
         		<?php echo $spText['button']['Proceed']?>
169
         	</a>
170
    	</td>
171
	</tr>
172
</table>
173
</form>