Пример #1
0
				<!--google_setting-->
					<div id="setGoogle" class="panel ibox">
					<?php 
optionTitle(_T("admin_set_title_google_setting"));
optionDescription(_T("admin_set_google_setting_des"));
optionText(_T("admin_set_google_analytics_code"), 'setAnalytics', $settings['SET_GOOGLE_ANALYTICS'], 'long');
optionText(_T("admin_set_google_channal_code"), 'setGoogleCha', $settings['SET_GOOGLE_CHANNAL'], 'long');
optionText(_T("admin_set_google_adsense_code"), 'setGoogleAds', $settings['SET_GOOGLE_ADS'], 'long');
submitButton();
?>
					</div>
					
				<!--admin setting-->
					<div id="setAdmin" class="panel ibox">
					<?php 
optionTitle(_T("admin_set_title_admin_setting"));
optionText(_T("admin_set_old_password"), 'oldPassword', '', null, 'password');
optionText(_T("admin_set_new_password"), 'newPassword', '', null, 'password');
optionText(_T("admin_set_confirm_new_password"), 'newConfirm', '', null, 'password');
optionText(_T("admin_set_admin_username"), 'setUserName', $settings['SET_USERNAME']);
optionText(_T("admin_set_email_address"), 'setEmail', $settings['SET_CONTACT']);
submitButton();
?>
					</div>

				<div class="clear"></div>
			</div>
		</form>

<?php 
// SETTINGS FUNCTIONS
Пример #2
0
					<thead>
					<tr class="odd">
						<th>&nbsp;</th>
						<th scope="col" title="' . _T("admin_db_database_backup_table_date_tip") . '">' . _T("admin_db_database_backup_table_date") . '</th>
						<th scope="col" title="' . _T("admin_db_database_backup_table_name_tip") . '">' . _T("admin_db_database_backup_table_name") . '</th>
					</tr>
					</thead>
					<tbody>
						' . (isset($bandwidth_bk_list) ? $bandwidth_bk_list : '') . '
					</tbody></table>';
?>
					</div>
				<!--Rebuild DB-->
					<div id="setRebuildDB" class="panel ibox">
					<?php 
optionTitle(_T("admin_db_rebuild_title"));
optionDescription(_T("admin_db_image_description"));
?>
						<div class="code_box"><label><?php 
echo _T("admin_db_image_check");
?>
</label><input type="button" class="button" value="<?php 
echo _T("admin_db_database_now");
?>
" onclick="document.getElementById('dbt').src ='admin.php?act=checkfoulder'" /></div>
						<?php 
optionDescription(_T("admin_db_rebuild_description"));
?>
						<div class="code_box"><label><?php 
echo _T("admin_db_rebuild_check");
?>