文件操作 - mysqlsettings_theme.php
返回文件管理
返回主菜单
删除本文件
文件: /usr/local/softaculous/enduser/themes/default/mysqlsettings_theme.php
编辑文件内容
<?php ////////////////////////////////////////////////////////////// //=========================================================== // userindex_theme.php //=========================================================== // SOFTACULOUS // Version : 1.1 // Inspired by the DESIRE to be the BEST OF ALL // ---------------------------------------------------------- // Started by: Alons // Date: 10th Jan 2009 // Time: 21:00 hrs // Site: http://www.softaculous.com/ (SOFTACULOUS) // ---------------------------------------------------------- // Please Read the Terms of use at http://www.softaculous.com // ---------------------------------------------------------- //=========================================================== // (c)Softaculous Inc. //=========================================================== ////////////////////////////////////////////////////////////// if(!defined('SOFTACULOUS')){ die('Hacking Attempt'); } function mysqlsettings_theme(){ global $theme, $globals, $softpanel, $user, $l, $error, $updates_available, $done; softheader($l['<title>']); echo ' <div class="bg"> <div class="row"> <center class="sai_main_head"><img height="48" width="48" src="'.$theme['a_images'].'mysqlsettings.png" /> ' . $l['mysql_settings'] . '</center><hr></br> </div>'; error_handle($error, '100%'); if (isset($done) && $done == true){ echo '<div class="sai_success">' . $l['pass_changed'] . '</div>'; echo '<br /><a href="'.$globals['ind'].'act=security">' . $l['lbl_security'] . '</a>'; }else{ echo '<form action="" method="post"> <div class="row"> <div class="col-sm-5"> <label for class="sai_head">MySQL Username:</label> </div> <div class="col-sm-7"> <span class="sai_head">root</span> </div> </div><br /><!---row end---> <div class="row"> <div class="col-sm-5"> <label for="oldpass" class="sai_head">Old Password:</label><br /><span class="sai_exp2">'.$l['default'].'</span> </div> <div class="col-sm-7"> <input type="password" name="oldpass" id="oldpass" class="form-control" /> </div> </div><br /><!---row end---> <div class="row"> <div class="col-sm-5"> <label for="newpass" class="sai_head">New Password:</label> </div> <div class="col-sm-7"> <input type="password" name="newpass" id="newpass" class="form-control"/> </div> </div><br /><!---row end---> <div class="row"> <div class="col-sm-5"> <label for="retypepass" class="sai_head">Retype Password:</label> </div> <div class="col-sm-7"> <input type="password" name="retypepass" id="retypepass" class="form-control"/> </div> </div><br /><!---row end---> <div class="row"> <center><input type="submit" name="changepass" value="Change Password" class="flat-butt"/></center> </div><br /> </div>'; if($done==1) { echo '<tr> <td colspan="2" align="center">'.$l['pass_changed'].'</td> </tr>'; } echo '</table> <center> <a href="'.$globals['ind'].'act=security"><font size="2">Back to Security Center</font></a> </center>'; } softfooter(); } /*function died(){ print_r(error_get_last()); } register_shutdown_function('died');*/
修改文件时间
将文件时间修改为当前时间的前一年
删除文件