Advertisement
Guest User

Untitled

a guest
Mar 3rd, 2014
199
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.08 KB | None | 0 0
  1. <!-- center column -->
  2. <div id="register" class="col-2">
  3. <div class="content content-last">
  4. <div class="content-bg">
  5. <div class="content-bg-bottom">
  6. <div class="textblock">
  7. <h2>Hesab&#305; Dondur</h2>
  8.  
  9. <div class="inner-form-border">
  10. <div class="inner-form-box">
  11. <?PHP
  12. if(isset($_SESSION['user_admin']) && checkInt($_SESSION['user_admin']) && $_SESSION['user_admin']>=0) {
  13.  
  14. echo '';
  15.  
  16.  
  17. if(isset($_POST['banla']) && $_POST['banla']=='Hesabi Dondur') {
  18.  
  19.  
  20. $sqlCmd = "SELECT * FROM account.account WHERE id='".$getAdmin->id."' LIMIT 1";
  21. $sqlQry = mysql_query($sqlCmd,$sqlServ);
  22.  
  23. if(mysql_num_rows($sqlQry)>0)
  24. {
  25. $accData = mysql_fetch_object($sqlQry);
  26. $DeactiveCmd ="UPDATE account.account SET availDt='".$_POST['date']."' WHERE id='".$getAdmin->id."' ";
  27. if(mysql_query($DeactiveCmd,$sqlServ)) {
  28.  
  29.  
  30. echo'<div class="formNotification"><div></div>
  31. <p>Hesab&#305;n&#305;z Belirledi&#287;iniz S&uuml;re Kadar Kapal&#305; Kalacakt&#305;r. <strong><font color="#00FF00">Deaktive Olmu&#351;tur</font></strong>
  32. <br />
  33. Anasayfaya Y&ouml;nlendiriliyorsunuz.... </p></div>';
  34. echo'<meta http-equiv="refresh" content="1; URL=index.php?s=logout"> ';
  35.  
  36. }
  37. }
  38. }
  39.  
  40. ?>
  41.  
  42.  
  43. <p>A&#351;a&#287;&#305;daki S&uuml;relerden Birini Se&ccedil;erek Dondurunuz <br>
  44. <font color="#FF0000">NOT: GER&#304; D&Ouml;N&Uuml;&#350;&Uuml; OLMAZ</font></p>
  45. <form name="pwlostForm" id="pwlostForm" method="post" action="index.php?s=dondur">
  46. <div>
  47. <label for="username">
  48. S&uuml;renizi Se&ccedil;iniz: *
  49. <span class="thell">
  50. <select name="date">
  51. <?PHP
  52. foreach($Deactive AS $aKey => $aValue) {
  53. echo'<option value="'.$aValue.'">'.$aKey.'</option>';
  54. }
  55. ?>
  56. </select>
  57. </span>
  58. </div>
  59. <input id="submitBtn" type="submit" name="banla" value="Hesabi Dondur" class="btn-big" />
  60. <p></p>
  61. <script type="text/javascript">
  62. $(function() {
  63. });
  64. </script>
  65. </form>
  66. <p id="regLegend">* Zorunludur </p>
  67.  
  68. <?php
  69. }
  70. else
  71. {
  72. echo "<div class='formNotification2'><div></div>Buraya Giris Yetkiniz Bulunmamaktadir<br>
  73. L&uuml;tfen &Uuml;ye Girisi Yapiniz!!</p></div><div class='box clearfix'>
  74.  
  75. <h2><img class='headicon' alt='' src='/img/alpha.gif' />&Ccedil;&#305;k&#305;&#351; yap&#305;l&#305;yor </h2>
  76. <img class='content-image' src='/img/img-content-01.jpg' />
  77. <div class='textblock'>
  78. <p><meta http-equiv='refresh' content='0; URL=index.php'>Ana sayfaya y&ouml;nlendirileceksiniz. L&uuml;tfen bekleyin...</p>
  79. </div>
  80. <div class='footer'></div>
  81. </div></div>";
  82. }
  83. ?></div></div></div></div></div></div></div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement