| 1 | <?php require_once('Connections/dataKont.php'); ?> |
|---|
| 2 | <?php |
|---|
| 3 | |
|---|
| 4 | require_once('includes/tng/tNG.inc.php'); |
|---|
| 5 | |
|---|
| 6 | |
|---|
| 7 | $conn_dataKont = new KT_connection($dataKont, $database_dataKont); |
|---|
| 8 | |
|---|
| 9 | |
|---|
| 10 | $captcha_id_obj = new KT_CaptchaImage("captcha_id_id"); |
|---|
| 11 | ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
|---|
| 12 | <html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/Azazi2.dwt.php" codeOutsideHTMLIsLocked="false" --> |
|---|
| 13 | <!-- DW6 --> |
|---|
| 14 | |
|---|
| 15 | <?php include('scripts/t_includes.php'); ?> |
|---|
| 16 | |
|---|
| 17 | <head> |
|---|
| 18 | |
|---|
| 19 | <!-- Copyright 2005 Macromedia, Inc. All rights reserved. --> |
|---|
| 20 | <!-- InstanceBeginEditable name="doctitle" --> |
|---|
| 21 | <title>Register</title> |
|---|
| 22 | <!-- InstanceEndEditable --> |
|---|
| 23 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
|---|
| 24 | <link rel="stylesheet" href="styles/mm_health_nutr.css" type="text/css" /> |
|---|
| 25 | <script language="javascript" src="scripts/main_js.js" type="text/javascript"></script> |
|---|
| 26 | <script language="JavaScript" type="text/javascript"> |
|---|
| 27 | //--------------- LOCALIZEABLE GLOBALS --------------- |
|---|
| 28 | var d=new Date(); |
|---|
| 29 | var monthname=new Array("January","February","March","April","May","June","July","August","September","October","November","December"); |
|---|
| 30 | //Ensure correct for language. English is "January 1, 2004" |
|---|
| 31 | var TODAY = monthname[d.getMonth()] + " " + d.getDate() + ", " + d.getFullYear(); |
|---|
| 32 | //--------------- END LOCALIZEABLE --------------- |
|---|
| 33 | </script> |
|---|
| 34 | <!-- InstanceBeginEditable name="head" --> |
|---|
| 35 | <script type="text/javascript" src="scripts/jquery.js"></script> |
|---|
| 36 | <script> |
|---|
| 37 | function chkAva(lnk,id){ |
|---|
| 38 | el = document.getElementById(id).value; |
|---|
| 39 | if (el == ''){ |
|---|
| 40 | alert('The user id should have a value before check'); |
|---|
| 41 | return; |
|---|
| 42 | } |
|---|
| 43 | av = "Available"; |
|---|
| 44 | na = "Not Available, choose another one!" |
|---|
| 45 | |
|---|
| 46 | $(document).ready(function(){ |
|---|
| 47 | $("#"+lnk).before("<img src='imgs/wait.gif' id='waitImg' /> "); |
|---|
| 48 | $.ajax({url: 'chk_user.php',type:'GET', data: 'Id='+ el, cache: false, dataType: "script", success: function(data, textStatus){ |
|---|
| 49 | |
|---|
| 50 | $("#waitImg").remove() |
|---|
| 51 | if (data == 0){ |
|---|
| 52 | if (document.getElementById('av') == null){ |
|---|
| 53 | $("#"+lnk).after(" <span id='av' class='hint'> "+av+"</span>"); |
|---|
| 54 | } |
|---|
| 55 | else{ |
|---|
| 56 | $("#av").empty(); |
|---|
| 57 | $("#"+lnk).after(" <span id='av' class='hint'> "+av+"</span>"); |
|---|
| 58 | } |
|---|
| 59 | } |
|---|
| 60 | else{ |
|---|
| 61 | if (document.getElementById('av') != null){ |
|---|
| 62 | $("#av").empty(); |
|---|
| 63 | } |
|---|
| 64 | $("#"+lnk).after(" <span id='av' class='hint'> "+na+"</span>"); |
|---|
| 65 | } |
|---|
| 66 | |
|---|
| 67 | }, |
|---|
| 68 | error: function(x,txt,err){ |
|---|
| 69 | $("#waitImg").remove(); |
|---|
| 70 | alert('Could not check...'+"\n"+'The server may down or busy. Retry again after a while.'); |
|---|
| 71 | } |
|---|
| 72 | }); |
|---|
| 73 | //$.get("chk_user.php",{Id: document.getElementById(id).value},function(data){ |
|---|
| 74 | //alert(data); |
|---|
| 75 | //} |
|---|
| 76 | //) |
|---|
| 77 | }); |
|---|
| 78 | |
|---|
| 79 | |
|---|
| 80 | } |
|---|
| 81 | </script> |
|---|
| 82 | |
|---|
| 83 | <!-- InstanceEditableHeadTag --><!-- InstanceEndEditable --> |
|---|
| 84 | <link href="includes/skins/mxkollection3.css" rel="stylesheet" type="text/css" media="all" /> |
|---|
| 85 | <script src="includes/common/js/base.js" type="text/javascript"></script> |
|---|
| 86 | <script src="includes/common/js/utility.js" type="text/javascript"></script> |
|---|
| 87 | <script src="includes/skins/style.js" type="text/javascript"></script> |
|---|
| 88 | <!-- Vertical Ticker --> |
|---|
| 89 | |
|---|
| 90 | <script type="text/javascript"> |
|---|
| 91 | |
|---|
| 92 | /*********************************************** |
|---|
| 93 | * Cross browser Marquee II- © Dynamic Drive (www.dynamicdrive.com) |
|---|
| 94 | * This notice MUST stay intact for legal use |
|---|
| 95 | * Visit http://www.dynamicdrive.com/ for this script and 100s more. |
|---|
| 96 | ***********************************************/ |
|---|
| 97 | |
|---|
| 98 | var delayb4scroll=2000 //Specify initial delay before marquee starts to scroll on page (2000=2 seconds) |
|---|
| 99 | var marqueespeed=2 //Specify marquee scroll speed (larger is faster 1-10) |
|---|
| 100 | var pauseit=1 //Pause marquee onMousever (0=no. 1=yes)? |
|---|
| 101 | |
|---|
| 102 | ////NO NEED TO EDIT BELOW THIS LINE//////////// |
|---|
| 103 | |
|---|
| 104 | var copyspeed=marqueespeed |
|---|
| 105 | var pausespeed=(pauseit==0)? copyspeed: 0 |
|---|
| 106 | var actualheight='' |
|---|
| 107 | |
|---|
| 108 | function scrollmarquee(){ |
|---|
| 109 | if (parseInt(cross_marquee.style.top)>(actualheight*(-1)+8)) |
|---|
| 110 | cross_marquee.style.top=parseInt(cross_marquee.style.top)-copyspeed+"px" |
|---|
| 111 | else |
|---|
| 112 | cross_marquee.style.top=parseInt(marqueeheight)+8+"px" |
|---|
| 113 | } |
|---|
| 114 | |
|---|
| 115 | function initializemarquee(){ |
|---|
| 116 | cross_marquee=document.getElementById("vmarquee") |
|---|
| 117 | cross_marquee.style.top=0 |
|---|
| 118 | marqueeheight=document.getElementById("marqueecontainer").offsetHeight |
|---|
| 119 | actualheight=cross_marquee.offsetHeight |
|---|
| 120 | if (window.opera || navigator.userAgent.indexOf("Netscape/7")!=-1){ //if Opera or Netscape 7x, add scrollbars to scroll and exit |
|---|
| 121 | cross_marquee.style.height=marqueeheight+"px" |
|---|
| 122 | cross_marquee.style.overflow="scroll" |
|---|
| 123 | return |
|---|
| 124 | } |
|---|
| 125 | setTimeout('lefttime=setInterval("scrollmarquee()",30)', delayb4scroll) |
|---|
| 126 | } |
|---|
| 127 | |
|---|
| 128 | if (window.addEventListener) |
|---|
| 129 | window.addEventListener("load", initializemarquee, false) |
|---|
| 130 | else if (window.attachEvent) |
|---|
| 131 | window.attachEvent("onload", initializemarquee) |
|---|
| 132 | else if (document.getElementById) |
|---|
| 133 | window.onload=initializemarquee |
|---|
| 134 | |
|---|
| 135 | |
|---|
| 136 | </script> |
|---|
| 137 | <!-- End Vertical Ticker --> |
|---|
| 138 | </head> |
|---|
| 139 | <body bgcolor="#F4FFE4"> |
|---|
| 140 | <table width="100%" border="0" cellspacing="0" cellpadding="0"> |
|---|
| 141 | <tr bgcolor="#D5EDB3"> |
|---|
| 142 | <td width="382" colspan="3" rowspan="2"><img src="styles/mm_health_photo.jpg" alt="Header image" width="382" height="101" border="0" /></td> |
|---|
| 143 | <td width="378" height="50" colspan="3" id="logo" valign="bottom" align="center" nowrap="nowrap">Azzazi Anesthesia</td> |
|---|
| 144 | <td width="100%" align="right" valign="top"> <?php |
|---|
| 145 | |
|---|
| 146 | $isLoggedIn = new tNG_UserLoggedIn($conn_dataKont); |
|---|
| 147 | |
|---|
| 148 | if ($isLoggedIn->Execute()) { |
|---|
| 149 | ?> |
|---|
| 150 | <?php |
|---|
| 151 | |
|---|
| 152 | ?><a href="logout.php">Logout</a> |
|---|
| 153 | <?php |
|---|
| 154 | |
|---|
| 155 | } else { ?> |
|---|
| 156 | <a href="login.php">Login</a> |
|---|
| 157 | <?php |
|---|
| 158 | } |
|---|
| 159 | |
|---|
| 160 | ?> |
|---|
| 161 | </td> |
|---|
| 162 | </tr> |
|---|
| 163 | |
|---|
| 164 | <tr bgcolor="#D5EDB3"> |
|---|
| 165 | <td height="51" colspan="3" id="tagline" valign="top" align="center">Anesthesia Website</td> |
|---|
| 166 | <td width="100%"> </td> |
|---|
| 167 | </tr> |
|---|
| 168 | |
|---|
| 169 | <tr> |
|---|
| 170 | <td colspan="7" bgcolor="#5C743D"><img src="styles/mm_spacer.gif" alt="" width="1" height="2" border="0" /></td> |
|---|
| 171 | </tr> |
|---|
| 172 | |
|---|
| 173 | <tr> |
|---|
| 174 | <td colspan="7" bgcolor="#99CC66" background="styles/mm_dashed_line.gif"><img src="styles/mm_dashed_line.gif" alt="line decor" width="4" height="3" border="0" /></td> |
|---|
| 175 | </tr> |
|---|
| 176 | |
|---|
| 177 | <tr bgcolor="#99CC66"> |
|---|
| 178 | <td height="20" colspan="7" bgcolor="#99CC66" id="dateformat"> <script language="JavaScript" type="text/javascript"> |
|---|
| 179 | document.write(TODAY); </script> |
|---|
| 180 | | Welcome <?php echo $_SESSION['kt_name']; ?> | <a href="uc.php">Your Controls</a></td> |
|---|
| 181 | </tr> |
|---|
| 182 | <tr> |
|---|
| 183 | <td colspan="7" bgcolor="#99CC66" background="styles/mm_dashed_line.gif"><img src="styles/mm_dashed_line.gif" alt="line decor" width="4" height="3" border="0" /></td> |
|---|
| 184 | </tr> |
|---|
| 185 | |
|---|
| 186 | <tr> |
|---|
| 187 | <td colspan="7" bgcolor="#5C743D"><img src="styles/mm_spacer.gif" alt="" width="1" height="2" border="0" /></td> |
|---|
| 188 | </tr> |
|---|
| 189 | |
|---|
| 190 | <tr> |
|---|
| 191 | <td width="165" valign="top" bgcolor="#5C743D"> |
|---|
| 192 | <table border="0" cellspacing="0" cellpadding="0" width="165" id="navigation"> |
|---|
| 193 | <tr> |
|---|
| 194 | <td width="165" align="center" valign="top"><form id="form1" name="form1" method="post" action="" style="display:inline"> |
|---|
| 195 | <input type="text" name="sq" id="sq" style="border: 0px;" /> |
|---|
| 196 | <input type="submit" name="button" id="button" value="Search" style="border: 0px; background-color:#99CC66;" /></form> |
|---|
| 197 | </td> |
|---|
| 198 | </tr> |
|---|
| 199 | <tr> |
|---|
| 200 | <td width="165"><a href="index.php" class="navText">Home</a></td> |
|---|
| 201 | </tr> |
|---|
| 202 | <tr> |
|---|
| 203 | <td width="165"><a href="blog.php" class="navText">Blog</a></td> |
|---|
| 204 | </tr> |
|---|
| 205 | <tr> |
|---|
| 206 | <td width="165"><a href="news.php" class="navText">News Wall</a></td> |
|---|
| 207 | </tr> |
|---|
| 208 | <tr> |
|---|
| 209 | <td width="165"><a href="books.php" class="navText">Books</a></td> |
|---|
| 210 | </tr> |
|---|
| 211 | <tr> |
|---|
| 212 | <td width="165"><a href="biography.php" class="navText">Biography</a></td> |
|---|
| 213 | </tr> |
|---|
| 214 | <tr> |
|---|
| 215 | <td width="165"><a href="contacts.php" class="navText">Contacts</a></td> |
|---|
| 216 | </tr> |
|---|
| 217 | <tr> |
|---|
| 218 | <td width="165"><a href="register.php" class="navText">Register</a></td> |
|---|
| 219 | </tr> |
|---|
| 220 | <?php |
|---|
| 221 | |
|---|
| 222 | if (@$_SESSION['kt_login_level'] == "A" || $_SESSION['kt_login_level'] == "B" ) { |
|---|
| 223 | ?> |
|---|
| 224 | <tr> |
|---|
| 225 | <td width="165"><a href="admin/index.php" class="navText">Administration</a></td> |
|---|
| 226 | </tr> |
|---|
| 227 | <?php } |
|---|
| 228 | |
|---|
| 229 | ?> |
|---|
| 230 | <tr> |
|---|
| 231 | <td> |
|---|
| 232 | <script language="javascript"> |
|---|
| 233 | page = document.URL |
|---|
| 234 | dimLink(page); |
|---|
| 235 | </script> |
|---|
| 236 | </td> |
|---|
| 237 | </tr> |
|---|
| 238 | </table> |
|---|
| 239 | <br /> |
|---|
| 240 | <br /> |
|---|
| 241 | <br /> |
|---|
| 242 | <br /> </td> |
|---|
| 243 | <td width="50" style="background:url(imgs/gra_v2m.gif) repeat-y"><img src="styles/mm_spacer.gif" alt="" width="50" height="1" border="0" /></td> |
|---|
| 244 | <td width="305" colspan="2" valign="top"><img src="styles/mm_spacer.gif" alt="" width="305" height="1" border="0" /><br /> |
|---|
| 245 | <br /> |
|---|
| 246 | <?php do { ?> |
|---|
| 247 | <?php echo $row_staticCont0['content']; ?> |
|---|
| 248 | |
|---|
| 249 | |
|---|
| 250 | <?php } while ($row_staticCont0 = mysql_fetch_assoc($staticCont0)); ?> |
|---|
| 251 | <br /> |
|---|
| 252 | <!-- InstanceBeginEditable name="ContTents" --> |
|---|
| 253 | <table border="0" cellspacing="0" cellpadding="0" width="305"> |
|---|
| 254 | <tr> |
|---|
| 255 | <td class="pageName">Register...</td> |
|---|
| 256 | </tr> |
|---|
| 257 | <tr> |
|---|
| 258 | <td valign="top" class="bodyText"><p>Using the following form you will gain the registered user priviledges. Fields signed with * is required fields and should be filled. |
|---|
| 259 | |
|---|
| 260 | <form method="post" id="form2"> |
|---|
| 261 | <table cellpadding="2" cellspacing="0" class="KT_tngtable"> |
|---|
| 262 | <tr> |
|---|
| 263 | <td class="KT_th"><label for="userId">User ID</label></td> |
|---|
| 264 | <td><input type="text" name="userId" id="userId" size="32" /> |
|---|
| 265 | <a id="chk1" href="javascript:chkAva('chk1','userId')">check</a> </td> |
|---|
| 266 | </tr> |
|---|
| 267 | <tr> |
|---|
| 268 | <td class="KT_th"><label for="name">Name:</label></td> |
|---|
| 269 | <td><input type="text" name="name" id="name" size="32" /></td> |
|---|
| 270 | </tr> |
|---|
| 271 | <tr> |
|---|
| 272 | <td class="KT_th"><label for="email">Email:</label></td> |
|---|
| 273 | <td><input type="text" name="email" id="email" size="32" /></td> |
|---|
| 274 | </tr> |
|---|
| 275 | <tr> |
|---|
| 276 | <td class="KT_th"><label for="password">Password:</label></td> |
|---|
| 277 | <td><input type="password" name="password" id="password" value="" size="32" /></td> |
|---|
| 278 | </tr> |
|---|
| 279 | <tr> |
|---|
| 280 | <td class="KT_th"><label for="re_password">Re-type Password:</label></td> |
|---|
| 281 | <td><input type="password" name="re_password" id="re_password" value="" size="32" /> </td> |
|---|
| 282 | </tr> |
|---|
| 283 | <tr> |
|---|
| 284 | <td class="KT_th"><label for="location">Location:</label></td> |
|---|
| 285 | <td><input type="text" name="location" id="location" size="32" /></td> |
|---|
| 286 | </tr> |
|---|
| 287 | <tr> |
|---|
| 288 | <td class="KT_th"><label for="address">Address:</label></td> |
|---|
| 289 | <td><textarea name="address" id="address" cols="50" rows="5"></textarea></td> |
|---|
| 290 | </tr> |
|---|
| 291 | <tr> |
|---|
| 292 | <td class="KT_th"><label for="mobile">Mobile:</label></td> |
|---|
| 293 | <td><input type="text" name="mobile" id="mobile" size="32" /></td> |
|---|
| 294 | </tr> |
|---|
| 295 | <tr> |
|---|
| 296 | <td class="KT_th"><label for="birth_date">Birth_date:</label></td> |
|---|
| 297 | <td><input name="birth_date" type="text" id="birth_date" size="32" /></td> |
|---|
| 298 | </tr> |
|---|
| 299 | <tr> |
|---|
| 300 | <td class="KT_th"><label for="gender">Gender:</label></td> |
|---|
| 301 | <td><select name="gender" id="gender"> |
|---|
| 302 | <option value="N">No Tell</option> |
|---|
| 303 | <option value="M">Male</option> |
|---|
| 304 | <option value="F">Female</option> |
|---|
| 305 | </select></td> |
|---|
| 306 | </tr> |
|---|
| 307 | <tr class="KT_buttons"> |
|---|
| 308 | <td colspan="2"><input type="submit" name="KT_Insert1" id="KT_Insert1" value="Register" /> </td> |
|---|
| 309 | </tr> |
|---|
| 310 | </table> |
|---|
| 311 | </form> |
|---|
| 312 | <p> </p> |
|---|
| 313 | </p> |
|---|
| 314 | <p> </p></td> |
|---|
| 315 | </tr> |
|---|
| 316 | </table> |
|---|
| 317 | <!-- InstanceEndEditable --> <br /> |
|---|
| 318 | <br /> </td> |
|---|
| 319 | <td width="50"><img src="styles/mm_spacer.gif" alt="" width="50" height="1" border="0" /></td> |
|---|
| 320 | <td width="190" valign="top"><br /> |
|---|
| 321 | <br /> |
|---|
| 322 | <table border="0" cellspacing="0" cellpadding="0" width="190" id="leftcol"> |
|---|
| 323 | |
|---|
| 324 | <tr> |
|---|
| 325 | <td width="10"><img src="styles/mm_spacer.gif" alt="" width="10" height="1" border="0" /></td> |
|---|
| 326 | <td width="170" class="smallText"><br /> |
|---|
| 327 | <div id="marqueecontainer" onMouseover="copyspeed=pausespeed" onMouseout="copyspeed=marqueespeed"> |
|---|
| 328 | <div id="vmarquee" style=" position:absolute; width: 98%;"> |
|---|
| 329 | <!--YOUR SCROLL CONTENT HERE--> |
|---|
| 330 | <p><span class="subHeader">TITLE HERE</span><br /> |
|---|
| 331 | Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam. </p> |
|---|
| 332 | |
|---|
| 333 | <p><span class="subHeader">TITLE HERE</span><br /> |
|---|
| 334 | Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam. </p> |
|---|
| 335 | |
|---|
| 336 | <p><span class="subHeader">TITLE HERE</span><br /> |
|---|
| 337 | Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam. </p> |
|---|
| 338 | </div> |
|---|
| 339 | </div> |
|---|
| 340 | |
|---|
| 341 | <br /> |
|---|
| 342 | <br /> </td> |
|---|
| 343 | <td width="10"> </td> |
|---|
| 344 | </tr> |
|---|
| 345 | </table> </td> |
|---|
| 346 | <td width="100%"> </td> |
|---|
| 347 | </tr> |
|---|
| 348 | <tr> |
|---|
| 349 | <td width="165" height="0"></td> |
|---|
| 350 | <td width="50" height="0"></td> |
|---|
| 351 | <td width="167" height="0"></td> |
|---|
| 352 | <td width="138" height="0"></td> |
|---|
| 353 | <td width="50" height="0"></td> |
|---|
| 354 | <td width="190" height="0"></td> |
|---|
| 355 | <td width="100%" height="0"></td> |
|---|
| 356 | </tr> |
|---|
| 357 | <tr bgcolor="#99CC66"> |
|---|
| 358 | <td height="20" colspan="7" align="center" bgcolor="#99CC66" id="dateformat"> |
|---|
| 359 | Azzazi Anesthesia<br /> |
|---|
| 360 | Developed By <a href="http://saidbakr.atspace.com" target="_blank">Said Bakr OnLine</a></td> |
|---|
| 361 | </tr> |
|---|
| 362 | </table> |
|---|
| 363 | </body> |
|---|
| 364 | <!-- InstanceEnd --></html> |
|---|