PageRenderTime 2698ms CodeModel.GetById 27ms RepoModel.GetById 1ms app.codeStats 0ms

/Quản lý website lưu bút trực tuyến PHP/luubut/admin/panel_pwd.php

https://gitlab.com/phamngsinh/baitaplon_sinhvien
PHP | 119 lines | 117 code | 1 blank | 1 comment | 3 complexity | 0023060ac0725e7c2a1f7794deca3dd3 MD5 | raw file
  1. <div id="loading" align="center" style="position:absolute; visibility:show; z-index:1000; filter: alpha(opacity=80); left:0px; top:300px;">
  2. <table border="0" width="100%" id="table1" cellspacing="0" cellpadding="0">
  3. <tr>
  4. <td align="center" valign="top">
  5. <table width="200" cellpadding="5" cellspacing="1" border="0" bgcolor="#666666">
  6. <tr>
  7. <td align=center bgcolor="#FFFFFF"><img src="img/loading.gif" border="0" ><br>
  8. <font color="blue">Đang Tải Dữ Liệu....</td>
  9. </tr>
  10. </table>
  11. </td>
  12. </tr>
  13. </table>
  14. </div>
  15. <DIV id="loading2" style="LEFT: -111px; WIDTH: 0px; POSITION: absolute; TOP: 100px">
  16. </DIV>
  17. <SCRIPT language=JavaScript src="Lai_load.js"></SCRIPT>
  18. <html>
  19. <head>
  20. <title>TanPhu.Net | Luu but- Password Settings</title>
  21. <style fprolloverstyle>A:hover {color: #FF0000; text-decoration: overline underline blink;}</style>
  22. <META http-equiv=Content-Type content="text/html; charset=UTF-8">
  23. <script language="JavaScript">
  24. <!--
  25. function checkForm() {
  26. if (document.FormPwd.NEWadmin_pass.value != document.FormPwd.confirm.value) {
  27. alert("The passwords do not match!");
  28. return false;
  29. }
  30. }
  31. //-->
  32. </script>
  33. </head>
  34. <body style="font-family: Arial; font-size: 10pt" topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0" marginwidth="0" marginheight="0" link="blue" vlink="blue" bgcolor="#EEF9FF">
  35. <img align="center" src="img/banner_admin_luubut.jpg"><br>
  36. <font size="2" face="Verdana, Arial" color="#000000"><b>&nbsp;THÔNG TIN ĐĂNG NHẬP</b></font>
  37. <b>| Hack Mod& Việt Hoá bởi: Thanh Lai | Mail: </font><a href="mailto:VuThanhLai@Gmail.Com">
  38. VuThanhLai@Gmail.Com</a> | Y!M: <a href="ymsgr:sendIM?kiuctinhyeu_1811" target="_blank">KiUcTinhYeu_1811</a> | Shared at: <a href="http://TanPhu.Net">
  39. TanPhu.Net</b>
  40. <br>
  41. <hr>
  42. &nbsp;<font face="Verdana, Arial, Helvetica, sans-serif" size="2"><b><a href="<?php echo $this->SELF; ?>?action=show&amp;tbl=priv&amp;session=<?php echo $this->session; ?>&amp;uid=<?php echo $this->uid; ?>">Tin nhắn riêng</a>
  43. | <a href="<?php echo $this->SELF; ?>?action=show&amp;tbl=gb&amp;session=<?php echo $this->session; ?>&amp;uid=<?php echo $this->uid; ?>">Quản lưu bút</a>
  44. | <a href="<?php echo $this->SELF; ?>?action=settings&amp;panel=general&amp;session=<?php echo $this->session; ?>&amp;uid=<?php echo $this->uid; ?>">Thiết lập tổng quát</a>
  45. | <a href="<?php echo $this->SELF; ?>?action=settings&amp;panel=style&amp;session=<?php echo $this->session; ?>&amp;uid=<?php echo $this->uid; ?>">Style</a>
  46. | <a href="<?php echo $this->SELF; ?>?action=template&amp;session=<?php echo $this->session; ?>&amp;uid=<?php echo $this->uid; ?>">Templates</a>
  47. | <a href="<?php echo $this->SELF; ?>?action=smilies&amp;session=<?php echo $this->session; ?>&amp;uid=<?php echo $this->uid; ?>">Smilies</a>
  48. | <a href="<?php echo $this->SELF; ?>?action=settings&amp;panel=pwd&amp;session=<?php echo $this->session; ?>&amp;uid=<?php echo $this->uid; ?>">Mật khẩu</a>
  49. | <a href="<?php echo $this->SELF; ?>?action=logout&amp;session=<?php echo $this->session; ?>&amp;uid=<?php echo $this->uid; ?>">Thoát</font></a></b></font><br>
  50. <hr>
  51. <b>&nbsp;<font size="1" face="Verdana, Arial" color="red">Xem info PHP server, <a href="<?php echo $this->SELF; ?>?action=info&amp;session=<?php echo $this->session; ?>&amp;uid=<?php echo $this->uid; ?>">click vào đây.</font></a></font></b>
  52. <form action="<?php echo $this->SELF; ?>" name="FormPwd" method="post">
  53. <table border=0 ALIGN=CENTER width=99% bgcolor="#000000">
  54. <tr bgcolor="#000000">
  55. <td colspan=2 align=center height="25"><b><font size="2" face="Verdana, Arial" color="#FFFF00">Thông tin đăng nhập vào bảng điều khiển lưu bút </font></b></td>
  56. </tr>
  57. <tr bgcolor="#FCF0C0">
  58. <td colspan=2><font size="1" face="Verdana, Arial"><b>Dưới đây thông tin đăng nhập vào bảng điều khiển của admin.</b></font></td>
  59. </tr>
  60. <tr bgcolor="#dedfdf">
  61. <td width=50% bgcolor="#dedfdf"><b><font size="2" face="Verdana, Arial">Tên hiện tại </font></b></td>
  62. <td width=50% bgcolor="#dedfdf"><input type="text" name="NEWadmin_name" value="<?php echo $row["username"]; ?>" size="30"></td>
  63. </tr>
  64. <tr bgcolor="#f7f7f7">
  65. <td width=50% bgcolor="#f7f7f7"> <b><font size="2" face="Verdana, Arial">Mật khẩu mới</font></b></td>
  66. <td width=50%><input type="password" name="NEWadmin_pass" value="*****" size="30"></td>
  67. </tr>
  68. <tr bgcolor="#dedfdf">
  69. <td width=50%><b><font size="2" face="Verdana, Arial">Xác nhận mật khẩu mới </font></b></td>
  70. <td width=50%>
  71. <input type="password" name="confirm" size="30">
  72. <input type="hidden" value="password" name="panel">
  73. </td>
  74. </tr>
  75. </table>
  76. <table border=0 ALIGN=CENTER width=99% bgcolor="#000000">
  77. <tr bgcolor="#000000">
  78. <td colspan=2 align=center height="25"><b><font size="2" face="Verdana, Arial" color="#FFFF00">Thông tin về CSDL</font></b></td>
  79. </tr>
  80. <tr bgcolor="#FCF0C0">
  81. <td colspan=2><font size="1" face="Verdana, Arial"><b>Dưới đây thông tin về CSDl của bạn.</b></font></td>
  82. </tr>
  83. <tr bgcolor="#dedfdf">
  84. <td width=50% bgcolor="#dedfdf"><b><font size="2" face="Verdana, Arial">Tên CSDL </font></b></td>
  85. <td width=50% bgcolor="#dedfdf"><b><font size="2" face="Verdana, Arial"><?php echo $this->db->db['dbName']; ?></font></b></td>
  86. </tr>
  87. <tr bgcolor="#f7f7f7">
  88. <td width=50% bgcolor="#f7f7f7"><b><font size="2" face="Verdana, Arial">tên MySQL Host</font></b><br>
  89. <font size="1" face="Verdana, Arial">Mặc định 'localhost'.</font></td>
  90. <td width=50%><b><font size="2" face="Verdana, Arial"><?php echo $this->db->db['host']; ?></font></b></td>
  91. </tr>
  92. <tr bgcolor="#dedfdf">
  93. <td width=50%> <b><font size="2" face="Verdana, Arial">Tài khoản Data MySQL </font></b><br>
  94. <font size="1" face="Verdana, Arial">Tài khoản Data MySQL dùng để thao tác trên CSDL.</font></td>
  95. <td width=50%><b><font size="2" face="Verdana, Arial"><?php echo $this->db->db['user']; ?></font></b></td>
  96. </tr>
  97. <tr bgcolor="#f7f7f7">
  98. <td width="50%" valign="top"> <b><font size="2" face="Verdana, Arial">Các bảng (Table) </font></b><br>
  99. <font size="1" face="Verdana, Arial">Các bảng sử dụng cho nguồn lưu bút này.</font></td>
  100. <td width=50%><font size="2" face="Verdana, Arial">
  101. <?php
  102. for (reset($this->table); $key=key($this->table); next($this->table)) {
  103. echo "- ".$this->table[$key]."<br>\n";
  104. }
  105. ?>
  106. </font></td>
  107. </tr>
  108. </table>
  109. <br>
  110. <center>
  111. <input type="submit" value="Lưu lại" onclick="return checkForm()">
  112. <input type="reset" value="Làm lại">
  113. <input type="hidden" value="<?php echo $this->uid; ?>" name="uid">
  114. <input type="hidden" value="<?php echo $this->session; ?>" name="session">
  115. <input type="hidden" value="password" name="panel">
  116. <input type="hidden" value="save" name="action">
  117. </center>
  118. </form>