GIF89a;
Direktori : /home/serb/www/ |
Current File : /home/serb/www/add_massageparlor.php |
<? session_start(); include("lib/globals.php"); include("lib/common.php"); include("lib/functions.php"); ?> <? include "includes/header_top.php";?> <script type="text/javascript"> function selectCity(country_id){ if(country_id!="-1"){ loadData('state',country_id); $("#city_dropdown").html("<option value='-1'>Select city</option>"); }else{ $("#state_dropdown").html("<option value='-1'>Select state</option>"); $("#city_dropdown").html("<option value='-1'>Select city</option>"); } } function selectState(state_id){ if(state_id!="-1"){ loadData('city',state_id); }else{ $("#city_dropdown").html("<option value='-1'>Select city</option>"); } } function loadData(loadType,loadId){ var dataString = 'loadType='+ loadType +'&loadId='+ loadId; $("#"+loadType+"_loader").show(); $("#"+loadType+"_loader").fadeIn(400).html('Please wait...'); $.ajax({ type: "POST", url: "loadData.php", data: dataString, cache: false, success: function(result){ $("#"+loadType+"_loader").hide(); $("#"+loadType+"_dropdown").html("<option value='-1'>Select "+loadType+"</option>"); $("#"+loadType+"_dropdown").append(result); } }); } </script> <script language="javascript"> function validate() { if(document.addmassage.userName.value=="") { alert("Enter your username"); document.addmassage.userName.focus(); return false; } if((document.addmassage.emailAddrs.value.indexOf('@',0)<1)||(document.addmassage.emailAddrs.value.indexOf('.',0)<1)) { alert("Enter any valid email address"); document.addmassage.emailAddrs.focus(); return false; } if(document.addmassage.emailAddrs.value!=document.addmassage.confrmEmail.value) { alert("Email not match."); document.addmassage.confrmEmail.value=""; document.addmassage.confrmEmail.focus(); return false; } if(document.addmassage.passWord.value=="") { alert("Enter your password"); document.addmassage.passWord.focus(); return false; } if(document.addmassage.security_code.value=="") { alert("Enter Security Code"); document.addmassage.security_code.focus(); return false; } if(document.addmassage.passWord.value!=document.addmassage.repassWord.value) { alert("Password not match"); document.addmassage.repassWord.focus(); return false; } if(document.addmassage.sex[0].value==false || document.f1.sex[1].value==false) { alert("You need to choose your sex."); return false; } /*if(document.f1.check.checked!=true) { alert("You need to check your age."); return false; }*/ } </script> <body> <? include "includes/header.php";?> <div class="wrapper"> <div class="top_space" style="height:30px;"></div> <div class="inside_wrp_top"> <div class="insd_wr_top">Add New Massage Parlor</div> <div class="insd_wr_mid"> <form action="addmsgparl-process.php" method="post" enctype="multipart/form-data" name="addmassage" style="margin: 0px; padding: 0px;" onSubmit="return validate();"> <input name="submit_form" value="1" type="hidden"> <table class="join_table2" border="0" cellpadding="0" cellspacing="0"> <tr> <td class="name_align">Name :</td> <td><input name="parlorName" id="prlname" class="main_input" type="text"><br/> </td> <td></td> <td></td> <td></td> </tr> <tr> <td class="name_align">State:</td> <td> <select name="prlState" id="state_dropdown" class="drp_img2" onChange="selectState(this.options[this.selectedIndex].value)"> <option value="-1">Select state</option> <? $sql_state="SELECT * FROM states ORDER BY name"; $res_state=execute_query($sql_state); while($row_state=mysql_fetch_array($res_state)) { ?> <option value="<?=$row_state['id'] ?>"><?=$row_state['name'] ?></option> <? } ?> </select> </td> <td ></td> <td class="name_align">City</td> <td> <select name="prlCities" id="city_dropdown" class="drp_img2"> <option value="-1" name="cityname"></option> </select> </td> </tr> <tr> <td class="name_align">Address :</td> <td><input name="prlAddress" id="address" class="main_input" value="<?=$row_event['street']?>" type="text"></td> <td></td> <td class="name_align">Zipcode :</td> <td><input name="zipCode" id="zipcode" class="main_input" type="text"></td> </tr> <tr> <td class="name_align">Parlor Phone :</td> <td><input name="parlPhone" id="phoneno" class="main_input" type="text"></td> <td></td> <td class="name_align">Website Url :</td> <td><input name="webUrl" id="weburl" class="main_input" type="text"></td> </tr> <tr> <td class="name_align">Email :</td> <td><input name="email" id="email" class="main_input" type="text"></td> <td></td> <td class="name_align">Major Street :</td> <td><input name="mrStreet" id="mjstreet" class="main_input" type="text"></td> </tr> <tr> <td class="name_align"> SemiTruckParking :</td> <td> <select name="truckParking" id="truckParking" class="drp_img2"> <option selected="selected">Select</option> <option value="1">Yes</option> <option value="0">No</option> </select> </td> <td></td> <td class="name_align"> Private Prking :</td> <td> <select name="pvtParking" id="pvtparking" class="drp_img2"> <option selected="selected">Select</option> <option value="1">Yes</option> <option value="0">No</option> </select> </td> </tr> <tr> <td class="name_align"> Table Shower :</td> <td> <select name="tblShower" id="tblShower" class="drp_img2"> <option selected="selected">Select</option> <option value="1">Yes</option> <option value="0">No</option> </select> </td> <td></td> <td class="name_align"> Sauna :</td> <td> <select name="sauna" id="sauna" class="drp_img2"> <option selected="selected">Select</option> <option value="1" >Yes</option> <option value="0" >No</option> </select> </td> </tr> <tr> <td class="name_align"> Jacuzzi :</td> <td> <select name="jacuzzi" id="jacuzzi" class="drp_img2"> <option selected="selected">Select</option> <option value="1">Yes</option> <option value="0">No</option> </select> </td> <td></td> <td class="name_align"> PrivacyForShower :</td> <td> <select name="pvforShower" id="pvforShower" class="drp_img2"> <option selected="selected">Select</option> <option value="1">Yes</option> <option value="0">No</option> </select> </td> </tr> <tr> <td class="name_align"> 4 Hand Massage Available :</td> <td> <select name="frhandmsg" id="frhandmsg" class="drp_img2"> <option selected="selected">Select</option> <option value="1">Yes</option> <option value="0">No</option> </select> </td> <td></td> <td class="name_align"> Non-EroticMassage? :</td> <td> <select name="nonEroticmsg" id="nonEroticmsg" class="drp_img2"> <option selected="selected">Select</option> <option value="1" <? if($row_event['noneroticmsg']=='1'){ ?> selected="selected" <? } ?>>Yes</option> <option value="0" <? if($row_event['noneroticmsg']=='0'){ ?> selected="selected" <? } ?>>No</option> </select> </td> </tr> <tr> <td class="name_align">30 Minute :</td> <td><input name="thirtMint" id="thirtMint" class="main_input" value="<?=$row_event['thirtyMinute']?>" type="text"> </td> <td></td> <td class="name_align">45 Minute :</td> <td><input name="fortMint" id="fortMint" class="main_input" value="<?=$row_event['fortyFive']?>" type="text"></td> <td></td> </tr> <tr> <td class="name_align">60 Minute :</td> <td><input name="sixtyMint" id="sixtyMint" class="main_input" value="<?=$row_event['sixty']?>" type="text"> </td> <td></td> <td class="name_align">90 Minute :</td> <td><input name="nintyMint" id="nintyMint" class="main_input" value="<?=$row_event['ninetyMinute']?>" type="text"> </td> </tr> <tr> <td colspan="3" class="text_fnt">Upload Your Photo</td> </tr> <tr> <td class="name_align">Picture :</td> <td><input type="file" name="avt_image" style="border:1px solid #999; width:200px; margin-bottom:5px; background-color:#fff;" /></td> <td></td> <td></td> </tr> <tr> <td></td> <td> </td> <td></td> <td></td> </tr> <tr> <td></td> <td></td> <td></td> </tr> </table> <table width="650px;" style="border:1px solid #993399; margin:0 auto; margin-top:5px;"> <tr style="background-color:#996699;"> <th style="border:1px solid #9966CC;">Day</th> <th >Open-</th> <th ></th> <th >Close</th> </tr> <tr> <td >Sunday</td> <td align="center"> <select name="sunday_open" class="drp_img2" style="width:70px;"> <option value="0">0</option> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5">5</option> <option value="6">6</option> <option value="7">7</option> <option value="8">8</option> <option value="9">9</option> <option value="10">10</option> <option value="11">11</option> <option value="12">12</option> </select> <select name="sunopenampm" class="drp_img2" style="width:70px;"> <option value="AM">AM</option> <option value="PM">PM</option> </select> </td> <td> </td> <td align="center"> <select name="sunday_close" class="drp_img2" style="width:70px;"> <option value="0">0</option> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5">5</option> <option value="6">6</option> <option value="7">7</option> <option value="8">8</option> <option value="9">9</option> <option value="10">10</option> <option value="11">11</option> <option value="12">12</option> </select> <select name="suncloseampm" class="drp_img2" style="width:70px;"> <option value="AM">AM</option> <option value="PM">PM</option> </select> </td> <td> </td> </tr> <tr> <td>Monday</td> <td align="center"> <select name="monday_open" class="drp_img2" style="width:70px;"> <option value="0">0</option> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5">5</option> <option value="6">6</option> <option value="7">7</option> <option value="8">8</option> <option value="9">9</option> <option value="10">10</option> <option value="11">11</option> <option value="12">12</option> </select> <select name="monopenampm" class="drp_img2" style="width:70px;"> <option value="AM">AM</option> <option value="PM">PM</option> </select> </td> <td> </td> <td align="center"> <select name="monday_close" class="drp_img2" style="width:70px;"> <option value="0">0</option> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5">5</option> <option value="6">6</option> <option value="7">7</option> <option value="8">8</option> <option value="9">9</option> <option value="10">10</option> <option value="11">11</option> <option value="12">12</option> </select> <select name="moncloseampm" class="drp_img2" style="width:70px;"> <option value="AM">AM</option> <option value="PM">PM</option> </select> </td> <td> </td> </tr> <tr> <td>Tuesday</td> <td align="center"> <select name="tuesday_open" class="drp_img2" style="width:70px;"> <option value="0">0</option> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5">5</option> <option value="6">6</option> <option value="7">7</option> <option value="8">8</option> <option value="9">9</option> <option value="10">10</option> <option value="11">11</option> <option value="12">12</option> </select> <select name="tueopenampm" class="drp_img2" style="width:70px;"> <option value="AM">AM</option> <option value="PM">PM</option> </select> </td> <td> </td> <td align="center"> <select name="tuesday_close" class="drp_img2" style="width:70px;"> <option value="0">0</option> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5">5</option> <option value="6">6</option> <option value="7">7</option> <option value="8">8</option> <option value="9">9</option> <option value="10">10</option> <option value="11">11</option> <option value="12">12</option> </select> <select name="tuecloseampm" class="drp_img2" style="width:70px;"> <option value="AM">AM</option> <option value="PM">PM</option> </select> </td> <td> </td> </tr> <tr> <td>Wednesday</td> <td align="center"> <select name="wednesday_open" class="drp_img2" style="width:70px;"> <option value="0">0</option> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5">5</option> <option value="6">6</option> <option value="7">7</option> <option value="8">8</option> <option value="9">9</option> <option value="10">10</option> <option value="11">11</option> <option value="12">12</option> </select> <select name="wedopenampm" class="drp_img2" style="width:70px;"> <option value="AM">AM</option> <option value="PM">PM</option> </select> </td> <td> </td> <td align="center"> <select name="wednesday_close" class="drp_img2" style="width:70px;"> <option value="0">0</option> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5">5</option> <option value="6">6</option> <option value="7">7</option> <option value="8">8</option> <option value="9">9</option> <option value="10">10</option> <option value="11">11</option> <option value="12">12</option> </select> <select name="wedcloseampm" class="drp_img2" style="width:70px;"> <option value="AM">AM</option> <option value="PM">PM</option> </select> </td> <td> </td> </tr> <tr> <td>Thursday</td> <td align="center"> <select name="thrus_open" class="drp_img2" style="width:70px;"> <option value="0">0</option> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5">5</option> <option value="6">6</option> <option value="7">7</option> <option value="8">8</option> <option value="9">9</option> <option value="10">10</option> <option value="11">11</option> <option value="12">12</option> </select> <select name="thuopenampm" class="drp_img2" style="width:70px;"> <option value="AM">AM</option> <option value="PM">PM</option> </select> </td> <td> </td> <td align="center"> <select name="thrusday_close" class="drp_img2" style="width:70px;"> <option value="0">0</option> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5">5</option> <option value="6">6</option> <option value="7">7</option> <option value="8">8</option> <option value="9">9</option> <option value="10">10</option> <option value="11">11</option> <option value="12">12</option> </select> <select name="thucloseampm" class="drp_img2" style="width:70px;"> <option value="AM">AM</option> <option value="PM">PM</option> </select> </td> <td> </td> </tr> <tr> <td>Friday</td> <td align="center"> <select name="friday_open" class="drp_img2" style="width:70px;"> <option value="0">0</option> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5">5</option> <option value="6">6</option> <option value="7">7</option> <option value="8">8</option> <option value="9">9</option> <option value="10">10</option> <option value="11">11</option> <option value="12">12</option> </select> <select name="friopenampm" class="drp_img2" style="width:70px;"> <option value="AM">AM</option> <option value="PM">PM</option> </select> </td> <td> </td> <td align="center"> <select name="frinesday_close" class="drp_img2" style="width:70px;"> <option value="0">0</option> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5">5</option> <option value="6">6</option> <option value="7">7</option> <option value="8">8</option> <option value="9">9</option> <option value="10">10</option> <option value="11">11</option> <option value="12">12</option> </select> <select name="fricloseampm" class="drp_img2" style="width:70px;"> <option value="AM">AM</option> <option value="PM">PM</option> </select> </td> <td> </td> </tr> <tr> <td>Saturday</td> <td align="center"> <select name="saturday_open" class="drp_img2" style="width:70px;"> <option value="0">0</option> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5">5</option> <option value="6">6</option> <option value="7">7</option> <option value="8">8</option> <option value="9">9</option> <option value="10">10</option> <option value="11">11</option> <option value="12">12</option> </select> <select name="sutopenampm" class="drp_img2" style="width:70px;"> <option value="AM">AM</option> <option value="PM">PM</option> </select> </td> <td> </td> <td align="center"> <select name="saturday_close" class="drp_img2" style="width:70px;"> <option value="0">0</option> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5">5</option> <option value="6">6</option> <option value="7">7</option> <option value="8">8</option> <option value="9">9</option> <option value="10">10</option> <option value="11">11</option> <option value="12">12</option> </select> <select name="satcloseampm" class="drp_img2" style="width:70px;"> <option value="AM">AM</option> <option value="PM">PM</option> </select> </td> <td> </td> </tr> <tr> </tr> </table> <table align="center"> <tr> <td colspan="4" style="margin-right:5px"><input src="images/agree_btn.png" type="image" /></td> </tr> </table> </form> </div> <div class="insd_wr_bottom"></div> </div> <?php /*?><div class="roundeddiv4"> <h1>Add New Massage Parlor</h1> <div align="center"> <form action="addmsgparl-process.php" method="post" enctype="multipart/form-data" name="addmassage" style="margin: 0px; padding: 0px;" onSubmit="return validate();"> <input name="submit_form" value="1" type="hidden"> <table class="join_table" border="0" cellpadding="0" cellspacing="0"> <tr> <td>Name :</td> <td><input name="parlorName" id="prlname" class="main_input" type="text"><br/> </td> <td></td> </tr> <tr> <td>State:</td> <td><select name="prlState" id="state" class="main_input"> <? $sql_state="SELECT * FROM states ORDER BY name"; $res_state=execute_query($sql_state); while($row_state=mysql_fetch_array($res_state)) { ?> <option value="<?=$row_state['id'] ?>"><?=$row_state['name'] ?></option> <? } ?> </select> </td> <td></td> </tr> <tr> <td>City</td> <td> <select name="prlCities" id="cities" class="main_input"> <? $sql_city="SELECT * FROM citys order by name "; $res_city=execute_query($sql_city); while($row_city=mysql_fetch_array($res_city)) { ?> <option value="<?=$row_city['id'] ?>" name="cityname"><?=$row_city['name'] ?></option> <? } ?> </select> </td> <td></td> </tr> <tr> <td>Address :</td> <td><input name="prlAddress" id="address" class="main_input" type="text"></td> <td></td> </tr> <tr> <td>Zipcode :</td> <td><input name="zipCode" id="zipcode" class="main_input" type="text"></td> <td></td> </tr> <tr> <td>Parlor Phone :</td> <td><input name="parlPhone" id="phoneno" class="main_input" type="text"></td> <td></td> </tr> <tr> <td>Website Url :</td> <td><input name="webUrl" id="weburl" class="main_input" type="text"></td> <td></td> </tr> <tr> <td> Truck Prking :</td> <td> <select name="truckParking" id="trparking" class="main_input"> <option value="1">Yes</option> <option value="0">No</option> </select> </td> <td></td> </tr> <tr> <td> Private Prking :</td> <td> <select name="pvtParking" id="pvtparking" class="main_input"> <option value="1">Yes</option> <option value="0">No</option> </select> </td> <td></td> </tr> <tr> <td>4 Hand Massage Available :</td> <td><select name="frhandmsg" id="handmsg" class="main_input"> <option value="1">Yes</option> <option value="0">No</option> </select> </td> <td></td> </tr> <tr> <td>Non-EroticMassage? :</td> <td><select name="nonEroticmsg" id="eroticmassage" class="main_input"> <option value="1">Yes</option> <option value="0">No</option> </select> </td> <td></td> </tr> <tr> <td>Picture :</td> <td><input type="file" name="avt_image" style="border:1px solid #999; width:200px; margin-bottom:5px; background-color:#fff;" /></td> <td></td> </tr> <tr> <td></td> <td> <input src="images/submit.png" type="image" width="100" height="32" style="margin-left:20px;"/> </td> <td></td> </tr> <tr> <td></td> <td></td> <td></td> </tr> <tr> <td></td> <td></td> <td></td> </tr> </table> </form> </div> </div><?php */?> </div> <br class="spacer" /> <? include "includes/footer.php";?>