Subversion Repositories cheapmusic

Rev

Details | Last modification | View Log | RSS feed

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