Unsupported scripts and control panel web app for a hosting company
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

index.php 2.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. <?PHP
  2. chdir('/home/utd/control');
  3. define('NOLOGINREF', true);
  4. require_once('lib/account.php');
  5. require_once('lib/common.php');
  6. require_once('lib/database.php');
  7. chdir('/home/utd/signup');
  8. require('inc/sessions.php');
  9. ob_start();
  10. ?>
  11. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
  12. <html>
  13. <head>
  14. <title>UTD-Hosting :: Signup</title>
  15. <style type="text/css">
  16. body {
  17. margin: 80px 200px;
  18. font-family: Tahoma, Arial, sans-serif;
  19. background-color: #fff;
  20. }
  21. p.blurb { font-style: italic; }
  22. div.status {
  23. float: right;
  24. font-size: small;
  25. font-variant: small-caps;
  26. color: #aaa;
  27. text-align: center;
  28. margin: 0px 10px;
  29. width: 60px;
  30. }
  31. div.status span {
  32. font-size: 60px;
  33. font-weight: bold;
  34. }
  35. div.past { color: #eee; }
  36. div.current { color: #000; }
  37. div#content {
  38. clear: both;
  39. padding-top: 20px;
  40. font-size: small;
  41. }
  42. th { text-align: right; width: 150px; }
  43. ul#main {
  44. list-style-type: none;
  45. margin: 30px 0px;
  46. }
  47. dt { font-weight: bold; }
  48. dd { margin: 5px 0px 20px 30px; }
  49. p#footer { clear: both; padding-top: 20px; font-style: italic; font-size: x-small; text-align: center; }
  50. img#logo { float: left; }
  51. hr { border: 0px; border-top: 1px solid #aaa; background-color: transparent; }
  52. div#message {
  53. border: 2px dashed #FAA;
  54. background-color: #FEE;
  55. margin-bottom: 20px;
  56. padding: 10px;
  57. }
  58. </style>
  59. </head>
  60. <body>
  61. <img src="/control/res/logo.png" alt="UTD-Hosting" id="logo">
  62. <?PHP
  63. $status = array(1=>'Signup type',2=>'Account details',3=>'Terms &amp; Conditions',4=>'Advanced details',5=>'Payment');
  64. for ($i = 5; $i > 0; $i--) {
  65. echo '<div class="status';
  66. if ($_SESSION['stage'] == $i) {
  67. echo ' current';
  68. } elseif ($_SESSION['stage'] > $i) {
  69. echo ' past';
  70. } else {
  71. echo ' future';
  72. }
  73. echo '"><span>'.$i.'</span><br>'.$status[$i].'</div>';
  74. }
  75. ?>
  76. <div id="content">
  77. <?PHP
  78. if (file_exists($_SESSION['stage'].'.php')) {
  79. require_once($_SESSION['stage'].'.php');
  80. }
  81. ?>
  82. </div>
  83. <p id="footer">
  84. Copyright (&copy;) UTD-Hosting, 2005-2006. All rights reserved.
  85. <br>PROBLEMS? E-mail <a href="mailto:support@utd-hosting.com">support@utd-hosting.com</a> for assistance.
  86. </p>
  87. </body>
  88. </html>
  89. <?PHP ob_end_flush(); ?>