Jump to content

chmod problem


anand.arjunan

Recommended Posts

Hi all i have error on mkdir and chmodsee my coding what s error i dint know please help me<?$fol=$_REQUEST['folder'];$samp=$_SERVER["DOCUMENT_ROOT"];$path=$samp.'/Automotive/a/';//echo $path;chmod($path, 0777);mkdir($path.$fol,0777);fopen($path.$fol.'/index.php', "w+",0777);chmod($path.$fol.'/index.php', 0777);?>Error is Warning: chmod failed: Operation not permitted in /var/www/html/Automotive/a/next.php on line 6Warning: mkdir() failed (Permission denied) in /var/www/html/Automotive/a/next.php on line 7Warning: fopen("/var/www/html/Automotive/a/saffa/index.php", "w+") - No such file or directory in /var/www/html/Automotive/a/next.php on line 9Warning: chmod failed: No such file or directory in /var/www/html/Automotive/a/next.php on line 10

Link to comment
Share on other sites

newinfoform.php<? ob_start(); session_start(); include "function/db_connection.php"; extract($_REQUEST); if($submit=="Continue") { $db="SELECT * FROM dental_users where name='".$name."'"; $db1=mysql_query($db) or die(mysql_error()); $db2=mysql_num_rows($db1); $dbmail="SELECT * FROM dental_users where emailid='".$email."'"; $dbexemail=mysql_query($dbmail) or die(mysql_error()); $dbnum=mysql_num_rows($dbexemail); if($dbnum!=0) { $msg="E-Mail Address Already exists,Please Choose Another E-mail Address"; } else { $name=$name; $btitle=$clinicname; $address=$add1; $city=$city; $state=$state; $zip=$zip; $tele=$_REQUEST['tele']; $pho= $_REQUEST['phone']; $num= $_REQUEST['number']; $mobile=$tele.$pho.$num; $folder=$name;//$_REQUEST['folder']; $email=$email; if($_REQUEST['web']=='1') { $siteaddress="yes"; }else { $siteaddress=$url; } $firstdegree=$degree; $firstspecalisation=$specalisation; $firstcollege=$_REQUEST['collage']; $otheracc=$_REQUEST['otheracc']; $bullet_pts=$_REQUEST[listing]; $bullet_pts1=$_REQUEST[listing1]; $bullet_pts2=$_REQUEST[listing2]; $aboutus=$_REQUEST[aboutus]; $testothers1=$_REQUEST[testothers1]; $testothers=$_REQUEST[testothers]; //$awards=$awards; if( $_REQUEST['photos']==" " or $_REQUEST['pro_image']==1) { $uploadfiles='coupon3_05.gif'; } else { $path=$_SERVER[DOCUMENT_ROOT]; $uploaddir= $path."/userimages/"; $image_name = $_FILES['photos']['name']; $cimg = str_replace("","_",$image_name); $upload_file = $uploaddir . $cimg; /* $cimages=$_FILES['photos']['name']; $cimag=str_replace(" ","_",$cimages); $uploadfiles=$uploaddir.$cimag; $uploadfiles=$cimag; $uploaddir.$uploadfiles; */ $uploadfiles=$cimg; } //$uploaddir.$uploadfiles; move_uploaded_file($_FILES['photos']['tmp_name'], $upload_file);//$uploaddir. $sql="INSERT INTO dental_users(name,businesstitle,folder_name,address,city,state,zipcode,mobileno,emailid,siteaddress,firstdegree ,firstspecalisation,firstcollege,otheracc,bullet_pts,bullet_pts1,bullet_pts2,aboutus,coupon,others,userimage)values('$name','$btitle','$folder','$address','$city','$state','$zip','$mobile','$email','$siteaddress','$firstdegree','$firstspecalisation','$firstcollege','$otheracc','$bullet_pts','$bullet_pts1','$bullet_pts2','$aboutus','$seltemplate','$testothers','$uploadfiles')"; $sq=mysql_query($sql) or die(mysql_error()); $newid=mysql_insert_id(); $ctitle=$ctitle; $coffer=$coffer; $cmsg=$cmsg; $cell="INSERT INTO dental_coupons(c_id,user_id,cname,coffer,cdesc)values('$seltemplate','$newid','$ctitle','$coffer','$cmsg')"; $qry=mysql_query($cell) or die(mysql_error()); $monmor=$_REQUEST['mam']; $monaft=$_REQUEST['mpm']; $tuesmor=$_REQUEST['tam']; $tuesaft=$_REQUEST['tpm']; $wedmor=$_REQUEST['wam']; $wedaft=$_REQUEST['wpm']; $thurmor=$_REQUEST['tham']; $thuraft=$_REQUEST['thpm']; $frimor=$_REQUEST['fam']; $friaft=$_REQUEST['fpm']; $satmor=$_REQUEST['sam']; $sataft=$_REQUEST['spm']; $sunmor=$_REQUEST['suam']; $sunaft=$_REQUEST['supm']; $sql1="INSERT INTO dental_timings(user_id,mon_mor,tues_mor,wed_mor,thur_mor,fri_mor,sat_mor,sun_mor,mon_eve,tue_eve,wed_eve,thur_eve,fri_eve,sat_eve,sun_eve)values('$newid','$monmor','$tuesmor','$wedmor','$thurmor','$frimor','$satmor','$sunmor','$monaft','$tuesaft','$wedaft','$thuraft','$friaft','$sataft','$sunaft')"; $sq1=mysql_query($sql1) or die(mysql_error()); $sql2="INSERT INTO dental_payment(user_id,Cash,Checks,Visa,MasterCard,American_exp,Discove,Financing,insurances)values('$newid','$checkbox1','$checkbox2','$checkbox3','$checkbox4','$checkbox5','$checkbox6','$checkbox7','$checkbox8')"; $sq2=mysql_query($sql2) or die(mysql_error()); $sql3="INSERT INTO `dental_specialties` ( `user_id` , `checkup` , `toothache` , `fillings` , `denures` , `cracked` , `extraction` , `sore` , `crowns` , `teeth` , `veneers` , `implants` , `braces` ) VALUES ('$newid', '$checkbox9', '$checkbox10', '$checkbox11', '$checkbox12', '$checkbox13', '$checkbox14', '$checkbox15', '$checkbox16', '$checkbox17', '$checkbox18', '$checkbox19', '$checkbox20')"; $sq3=mysql_query($sql3) or die(mysql_error()); $qr1="select * from dental_users where user_id='".$newid."'"; $rs1=mysql_query($qr1) or die(mysql_error()); $arr_rs=mysql_fetch_array($rs1); $cid=$arr_rs['folder_name']; //mkdir($cid); mkdir($cid,0777); $efile = $cid."/"."index.php"; $handle=fopen($efile, 'w'); echo $somecontent = '<? $storeid="'.$newid.'";include "../profile.php"?>'; fwrite($handle,$somecontent); fclose($handle); chmod($way.$cid,0777); $efile = $way.$cid."/"."index11.php"; $handle=fopen($efile, 'w'); echo $somecontent = '<? $storeid="'.$newid.'";include "../profile11.php"?>'; fwrite($handle,$somecontent); fclose($handle); echo "<META HTTP-EQUIV=Refresh CONTENT=\"1; URL=regadded.php\">"; //header("location: adduser1.php?id=$newid"); } }?><HTML><HEAD><meta http-equiv="Content-Language" content="en-us"><TITLE>:: Welcome ::</TITLE><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252"><link href="request.css" rel="stylesheet" type="text/css"><link href="site.css" rel="stylesheet" type="text/css"><script language=JavaScript>function checkLen(x,y){if (y.length==x.maxLength) { var next=x.tabIndex if (next<document.getElementById("theForm55").length) { document.getElementById("theForm55").elements[next].focus() return false; } }}function temps(){ window.open('1coupon.php', 'tinyWindow', 'toolbar,width=500,height=600');}function temps1(){ window.open('2coupon.php', 'tinyWindow', 'toolbar,width=450,height=500');}function temps2(){ window.open('3coupon.php', 'tinyWindow', 'toolbar,width=500,height=600');}function test(src) { //var emailReg = "^[\\w-_\.]*[\\w-_\.]\@[\\w]\.+[\\w]+[\\w]$"; var emailReg = /^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$/i var regex = new RegExp(emailReg); return regex.test(src);}function validate(){ extArray = new Array(".gif", ".jpg"); var invalid = " "; /*if (document.theForm55.clinicname.value == '') { alert('Please enter the Practice’s Name'); document.theForm55.clinicname.focus(); return false; }*/ if(document.theForm55.clinicname.value!="") { var MN = document.theForm55.clinicname.value.substring(0,1); if ( MN == ' ') { alert("\n In the Practice’s Name, first character should not be a space "); document.theForm55.clinicname.focus(); return false; } } if (document.theForm55.name.value == "") { alert('Please enter the Name'); document.theForm55.name.focus(); return false; } if(document.theForm55.name.value!="") { var MN = document.theForm55.name.value.substring(0,1); if ( MN == ' ') { alert("\n In the Name, first character should not be a space "); document.theForm55.name.focus(); return false; } } /*if (document.theForm55.folder.value == "") { alert('Please enter the Folder name'); document.theForm55.folder.focus(); return false; } if (document.theForm55.folder.value.indexOf(invalid) > -1) { alert("Sorry, spaces are not allowed."); document.theForm55.folder.focus(); return false; }*/ if (document.theForm55.add1.value == '') { alert('Please enter the address'); document.theForm55.add1.focus(); return false; } if(document.theForm55.add1.value!="") { var MN = document.theForm55.add1.value.substring(0,1); if ( MN == ' ') { alert("\n In the Address, first character should not be a space"); document.theForm55.add1.focus(); return false; } } if (document.theForm55.city.value == '') { alert('Please enter the city'); document.theForm55.city.focus(); return false; } if(document.theForm55.city.value!="") { var MN = document.theForm55.city.value.substring(0,1); if ( MN == ' ') { alert("\n In the City, first character should not be a space"); document.theForm55.city.focus(); return false; } } if (document.theForm55.state.value == '0') { alert('Please select the state'); document.theForm55.state.focus(); return false; } if(document.theForm55.state.value!="") { var MN = document.theForm55.state.value.substring(0,1); if ( MN == ' ') { alert("\n In the State, first character should not be a space"); document.theForm55.state.focus(); return false; } } if (document.theForm55.zip.value == "") { alert('Please enter the zip code'); document.theForm55.zip.focus(); return false; } if(document.theForm55.zip.value!="") { var MN = document.theForm55.zip.value.substring(0,1); if ( MN == ' ') { alert("\n In the Zip Code, first character should not be a space"); document.theForm55.zip.focus(); return false; } } var zipcode=document.theForm55.zip.value; if(isNaN(zipcode)==true) { alert("The Zip Code Should Be In Numerals"); document.theForm55.zip.value=""; document.theForm55.zip.focus(); return false; } num=document.theForm55.zip.value.length; if(num<5) { alert("Enter 5 Digit Zip Code"); document.theForm55.zip.value=""; document.theForm55.zip.focus(); return false; } if (document.theForm55.tele.value == '') { alert('Please enter Telephone Number'); document.theForm55.tele.focus(); return false; } if(document.theForm55.tele.value!="") { var MN = document.theForm55.tele.value.substring(0,1); if ( MN == ' ') { alert("\n In the Telephone, first character should not be a space"); document.theForm55.tele.focus(); return false; } } var faxnos=document.theForm55.tele.value; if(isNaN(faxnos)==true) { alert("The Telephone Number Should Be In Numerals"); document.theForm55.tele.value=""; document.theForm55.tele.focus(); return false; } /*if (document.theForm55.photos.value == "") { alert('Please Upload The Image'); document.theForm55.photos.focus(); return false; }*/ if(document.theForm55.photos.value!="") { validformFile = /(.gif|.GIF|.jpg|.JPG)$/; if(!validformFile.test(document.theForm55.photos.value)) { alert("Please only upload files that end in types: " + (extArray.join(" ")) + "\nPlease select a new " + "file to upload and submit again."); document.theForm55.photos.focus(); document.theForm55.photos.select(); return false; } } /* var url = document.theForm55.site.value; if(url == "") { alert("Please enter your `Link URL`"); document.formlink.linkURL.focus(); return false; } var urlRegxp = /^(www.|https:\/\/www.){1}([\w]+)(.[\w]+){1,2}$/; if (urlRegxp.test(url) != true) { alert("Please enter valid URL!"); document.formlink.linkURL.focus(); document.formlink.linkURL.select(); return false; }*/ if (document.theForm55.degree.value == "") { alert('Please enter the Name of college'); document.theForm55.degree.focus(); return false; } if (document.theForm55.specalisation.value == '') { alert("Please enter the Name of School"); document.theForm55.specalisation.value=""; document.theForm55.specalisation.focus(); return false; } if(document.theForm55.specalisation.value!="") { var MN = document.theForm55.specalisation.value.substring(0,1); if ( MN == ' ') { alert("\n In the School, first character should not be a space "); document.theForm55.specalisation.focus(); return false; } } if (document.theForm55.collage.value == "") { alert('Please enter the Name of dental school'); document.theForm55.collage.focus(); return false; } if(document.theForm55.collage.value!="") { var MN = document.theForm55.collage.value.substring(0,1); if ( MN == ' ') { alert("\n In the Dental School, first character should not be a space "); document.theForm55.collage.focus(); return false; } } /*if (document.theForm55.awards.value == "") { alert('Please enter the Awards'); document.theForm55.awards.focus(); return false; }*/ if((document.theForm55.checkbox1.checked==false)&&(document.theForm55.checkbox2.checked==false)&&(document.theForm55.checkbox3.checked==false)&&(document.theForm55.checkbox4.checked==false)&&(document.theForm55.checkbox5.checked==false)&&(document.theForm55.checkbox6.checked==false)&&(document.theForm55.checkbox7.checked==false)&&(document.theForm55.checkbox8.checked==false)) { alert('Please select atleast one payment'); return false; }}</SCRIPT><script LANGUAGE="JavaScript"> function check() { pvalue=document.theForm55.phone_no.value.length; if(pvalue==3) document.theForm55.phone_no1.focus(); } function check1() { pvalue=document.theForm55.phone_no1.value.length; if(pvalue==3) document.theForm55.phone_no2.focus(); }</script></HEAD><BODY background="images/bg-2.jpg" LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0><!-- ImageReady Slices (header.psd) --><TABLE align="center" WIDTH=750 BORDER=0 CELLPADDING=0 CELLSPACING=0 > <TR> <TD COLSPAN=3 height="31"> <IMG SRC="images/header_01.jpg" WIDTH=750 HEIGHT=31 ALT=""></TD> </TR> <TR> <TD height="69"> <IMG SRC="images/header_02.jpg" WIDTH=201 HEIGHT=69 ALT=""></TD> <TD height="69"> <IMG SRC="images/header_03.jpg" WIDTH=362 HEIGHT=69 ALT=""></TD> <TD height="69"> <IMG SRC="images/header_04.jpg" WIDTH=187 HEIGHT=69 ALT=""></TD> </TR> <TR> <TD COLSPAN=3 height="15"> <IMG SRC="images/header_05.jpg" WIDTH=750 HEIGHT=15 ALT=""></TD> </TR> <TR> <TD COLSPAN=3 height="18"> <img src="images/header_06_form1.gif" width="750" height="18"></TD> </TR> <TR> <TD COLSPAN=3 height="19"> <img src="images/header_07_form2.gif" width="750" height="19"></TD> </TR> <TR> <TD COLSPAN=3 height="20"> <img src="images/dental_header_form6.jpg" width="750" height="20"></TD> </TR> <TR> <TD background="images/bg_req.jpg" WIDTH=750 height="35" border=1 align="center" COLSPAN=3> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="97%" id="AutoNumber1" bgcolor="#FFFFFF"> <tr> <td width="720" align="right" height="27"> <a class="link" href="website_options.html">Website Options </a> |  <a class="link" href="doctorslounge.html">Website Info</a><a class="link" href="website_options.html"> </a> |  <a class="link" href="contact.php">Contact</a><a class="link" href="website_options.html"> </a> |  <a class="link" href="index.php">Home</a></td> </tr> </table> </TD> </TR> <TR> <TD background="images/bg_req.jpg" WIDTH=750 height="1" border=1 align="center" COLSPAN=3>  </TD> </TR> <TR> <TD background="images/bg_req.jpg" WIDTH=750 border=1 align="center" COLSPAN=3> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#FFFFFF" width="97%" > <tr> <td width="150%" align="center" height="19"> <FORM name="theForm55" enctype="multipart/form-data" method="post" onSubmit="return validate();"action =""> <table width="719" border="0" align="center" cellpadding="3" cellspacing="0" ><TR><TD align=center colspan=3 class=11 height=1><font family=arial color=red><?=$msg;?></font></TD></tr> <tr > <td class="text0" align="right" width="129" height="23"><strong class="style22">Practice’s Name </strong></td> <td class="text0" width="9" height="23"><strong>:</strong></td> <td width="563" height="23">   <input name="clinicname" type="text" class="InpBox" size="20" Maxlength="70" value="<?=$_REQUEST['clinicname'];?>"></td> </tr> <tr> <td class="text0" align="right" width="129" ><strong class="style22">Doctor’s Name</strong></td> <td class="text0" width="9" height="23"><strong>:</strong></td> <td width="563" height="23">   <input name="name" type="text" Maxlength="70" class="InpBox" size="20" value="<?=$_REQUEST['name'];?>"></td> </tr> <!--<tr> <td class="text0" align="right" width="179" height="23"><strong class="style22">Folder Name</strong></td> <td class="text0" width="4" height="23"><strong>:</strong></td> <td width="250" height="23">  <input name="folder" type="text" class="InpBox" size="20" Maxlength="70" value="<?//=$_REQUEST['folder'];?>"></td> </tr>--> <tr> <td class="text0" align="right" width="129" height="23"><strong class="style22">Address</strong></td> <td class="text0" width="9" height="23"><strong>:</strong></td> <td width="563" height="23">   <input type="text" Maxlength="70" class="InpBox" size="20" value="<?=$_REQUEST['add1'];?>" name=add1></td> </tr> <tr> <td class="text0" align="right" width="129" height="23"><strong class="style22">City</strong></td> <td class="text0" width="9" height="23"><strong>:</strong></td> <td width="563" height="23">   <input type="text" class="InpBox" value="<?=$_REQUEST['city'];?>" name=city size="20"></td> </tr> <TR> <td class="text0" align="right" width="129" height="23"><strong class="style22">State</strong></td> <td class="text0" width="9" height="23"><strong>:</strong></td> <td width="563" height="23">  <select class=InpBox name="state"> <option value="0">State</option> <? $getphone="SELECT * FROM dental_state order by state_id"; $exe=mysql_query($getphone) or die(mysql_error()); $rows=mysql_num_rows($exe); for($i=0;$i<=$rows;$i++) { $data=mysql_fetch_array($exe); if($data['state_id']==$state) echo"<option value=".$data['state_id']." selected>".$data['state_name']."</option>"; else echo"<option value=".$data['state_id'].">".$data['state_name']."</option>"; } ?> </select>  </TD></TR> <tr> <td class="text0" align="right" width="129" height="23"><strong class="style22">Zip Code</strong></td> <td class="text0" width="9" height="23"><strong>:</strong></td> <td width="563" height="23">   <input type="text" class=InpBox value="<?=$_REQUEST['zip'];?>" name=zip maxlength=5 size="20"></td> </tr> <tr> <td class="text0" align="right" width="129" height="23"><strong class="style22">Telephone</strong></td> <td class="text0" width="9" height="23"><strong>:</strong></td> <td width="563" height="23">  <input name="tele" type="text" maxlength="3" tabindex="7" onKeyUp="checkLen(this,this.value)" class="InpBox" size="3" value="<?=$_REQUEST['tele'];?>"> - <input name="phone" type="text" maxlength="3"tabindex="8"onkeyup="checkLen(this,this.value)" class="InpBox" size="3" value="<?=$_REQUEST['phone'];?>">- <input name="number" type="text" maxlength="4" tabindex="9"onKeyUp="checkLen(this,this.value)" class="InpBox" size="5" value="<?=$_REQUEST['number'];?>"></td> </tr> <tr> <td class="style22" align="right"width="129" height="25">Website URL</td> <td class="text0" width="9" valign="top" height="25"><strong>: </strong></td> <td valign="top" height="25">   www. <input name="url" type="text" Maxlength="70" class="InpBox" size="20" value="<?$_REQUEST['url'];?>">   <input type="radio" value="web" name="web"> I don't have a web site.</td> </tr> <tr> <td class="text0" align="right" width="129" height="23"><strong> <span class="style22">Email Address</span><br> </strong></td> <td class="text0" width="9" height="23" valign="top"><strong>:</strong></td> <td height="23" valign="top">   <input name="email" type="text" Maxlength="70" class="InpBox" size="20" value="<?=$_REQUEST['email'];?>">    <input type="radio" value="1" name="email"> Please respond on my behalf for new patient inquiries </td> </tr> <tr> <td class="text0" align="right" width="129" height="23"><strong class="style22">Image </strong></td> <td class="text0" width="9" height="23"><strong>:</strong></td> <td width="563" height="23">   <INPUT class=InpBox style="WIDTH: 160px" type="file" name="photos" size="30"></td></tr> <TR> <TD align=left height="19" class=text0> </TD> <TD align=left height="19" class=text0> </TD> <TD align=left height="19" class=text0> <!-- coupon3_05 --> <input name="pro_image" type="radio" value="1"> Please Provide </TD> </TR> <TR> <TD align=left height="19" class=text0> </TD> <TD align=left height="19" class=text0> </TD> <TD align=left height="19" class=text0><span class="style22">Upload Image with width=91 and height=115</span></TD></TR> <tr> <td colspan="2" height="19" align="right" valign="top" class="style22">Create Special Offer Coupon: <span style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px;"> </span></td> <td width="563" height="25" align=left valign="top" class="style6"> <table width=100% height="144" border=0 > <tr> <td width="30%"> <input type=radio name="seltemplate" value="1" onclick="temps();"><span class="style6">Coupon1</span><br> <img border="0" src="images/thumb.gif" name="temp1" width="150" height="117"> </td> <td width="32%"> <input type=radio name="seltemplate" value="2" onclick="temps1();"><span class="style6">Coupon2</span><br> <img border="0" src="images/thumb1.gif" name="temp2" width="150" height="117"></td> <td > <input type=radio name="seltemplate" value="3" onclick="temps2();"> <span class="style6">Coupon3<br> <img src="images/thumb2.gif" width="150" height="117"></span><br> </td> <input type="hidden" name="ctitle"> <input type="hidden" name="coffer"> <input type="hidden" name="cmsg"> </tr> </table> <!--<td width="250" height="19" class="style6"> <textarea name="testothers1" rows="5" cols="40" class="InpBox1"><?=$_REQUEST[testothers1]?> </textarea>--> </td> </tr> <tr > <td height="60" align="right" > <input name="submit" type="submit" class="SubBtn" value="Continue"></td><td> </td><td> <input name="Submit2" type="reset" class="SubBtn" value="Reset"> </td> </tr> </table> <table align="center" border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="750"> <tr> <td width="730" height="49" align="center" bgcolor="#339999"><span class="style2">Dental Arts Center 2005</span> </td> </tr></table></BODY></HTML>listing.php<? ob_start(); include "includes/header.php"; include_once ("db_mysql.inc"); include_once ("phpZipLocator.php"); include_once ("ZipCodesRange.class.php"); $db = new db_sql; $zipLoc = new zipLocator; extract($_REQUEST); $zipcode=$_REQUEST['zipcode'];//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////initialization, pass in DB connection, from zip code, distance in miles.$zip = new ZipCodesRange($link,'90302','9','US');//configuration$zip->setTableName('zipdata'); //optional, default is zips.$zip->setZipColumn('zipcode'); //optional, default is zip.$zip->setLonColumn('lon'); //optional, default is lon.$zip->setLatColumn('lat'); //optional, default is lat.//do the work$zip->setZipCodesInRange(); //call to initialize zip array//zip code output, other processing can be done from this array.$zipArray = $zip->getZipCodesInRange();echo '<pre>';print_r($zipArray);echo '</pre>';//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// if($zipcode!="") { $zipOne=$zipcode; $getmiles="select zipcode from dental_settings where settings_id=1"; $exedistance=mysql_query($getmiles) or die(mysql_error()); $getdistancedata=mysql_fetch_array($exedistance); $milesselected=$getdistancedata['zipcode']; $radius =$milesselected; $zipArray = $zipLoc->inradius($zipOne,$radius); print_r($zipArray); echo $getusers="select * from dental_users where (zipcode='". @implode ("' or zipcode='",$zipArray)."') order by user_id asc"; } else { $getusers="select * from dental_users where city='".$city."' and state='".$state."'"; } $executeusers=mysql_query($getusers) or die(mysql_error()); while($myrows=mysql_fetch_array($executeusers)) { $UserId.=$myrows[0].","; } $User_Id=ereg_replace(",$","",$UserId); $gettotalusers=mysql_num_rows($executeusers);?><? $executeusers=@mysql_query("select * from dental_users where status != 'yes' and user_id in($User_Id) order by rand() limit 3 "); $gettotalusers=@mysql_num_rows($executeusers); //New End for($i=0;$i<$gettotalusers;$i++) { $getuserdata=mysql_fetch_array($executeusers); $userid=$getuserdata['user_id']; $username=$getuserdata['name']; $folder=$getuserdata['folder_name']; $btitle=$getuserdata['businesstitle']; $address=$getuserdata['address']; $city=$getuserdata['city']; $stateid=$getuserdata['state']; $getstate="select * from dental_state where state_id='".$stateid."'"; $exestate=mysql_query($getstate) or die(mysql_error()); $getstatedata=mysql_fetch_array($exestate); $state=$getstatedata['state_name']; $zipcode=$getuserdata['zipcode']; $mobile=$getuserdata['mobileno']; $mailid=$getuserdata['emailid']; $site=$getuserdata['siteaddress']; $userimage=$getuserdata['userimage']; $description1=$getuserdata['bullet_pts']; $description2=$getuserdata['bullet_pts1']; $description3=$getuserdata['bullet_pts2']; $dentalist_rank=$getuserdata['rank']; $FilePath="userimages/".$userimage; $fileflag=0; if(!file_exists($FilePath)) { $fileflag=1; } if( $fileflag==1) { $FilePath = "userimages/noimages.jpg"; }?><TABLE align="center" WIDTH=750 BORDER=0 CELLPADDING=0 CELLSPACING=0 height="10" bgcolor="#FFFFFF" style="border-collapse: collapse" bordercolor="#111111"><link href="site.css" rel="stylesheet" type="text/css"><style><!--a.whiteurl:link{color:"#ffffff";text-decoration:"underline";font-size: 12px;font-weight: bold;}a.whiteurl:hover{color:"#ffffff";text-decoration:"none";font-size: 12px;font-weight: bold;}a.whiteurl:active{color:"#ffffff";text-decoration:"underline";font-size: 12px;font-weight: bold;}a.whiteurl:visited{color:"#ffffff";text-decoration:"underline";font-size: 12px;font-weight: bold;} --></style> <? //$dentalist_rank=$getuserdata['rank'];//Falsh2 Start //$dentalist_rank=$getuserdata['rank']; if($dentalist_rank == 0) { ?><TR><TD COLSPAN=7 height="24"><IMG SRC="images/listing_01.gif" WIDTH=750 HEIGHT=24 ALT=""></TD></TR><TR><TD background="images/listing_02.gif" WIDTH=28 HEIGHT=1> </TD><TD WIDTH=262 rowspan="3" align="center" valign="top"> <table border="0" cellpadding="2" cellspacing="0" bordercolor="#111111" width="98%" style="border-collapse: collapse"> <tr> <td colspan=2 align=left width="52%" class=style22 ><b><font color=055130 size="3"> <?=$btitle;?></font></b></td> </tr> <tr> <td colspan=2 align=left width="52%" class=style22 ><b><font color=055130>Dr. <?=$username;?></font></b></td> </tr> <tr> <td width="100%" align=left class=style22 colspan="2"><b><font color=055130><?=$address;?><br><?=$city;?>, <?=$state;?> <?=$zipcode;?></font></b></td> </tr> <tr> <td width="100%" class=style22 align=left colspan="2"> <a href="#"onclick="java script:window.open('http://www.mapquest.com/maps/map.adp?country=US&countryid=US&addtohistory=&searchtype=address&cat=&address=<?=$address;?>&city=<?=$city;?>&state=<?=$state;?>&zipcode=<?=$zipcode;?>','mywindow','scrollbars=yes,width=1000,height=700')" class="whiteurl"><b> <font color="055130">Map it! </font></b></a></td> <!-- <a href="http://www.mapquest.com/maps/map.adp?country=US&countryid=US&addtohistory=&searchtype=address&cat=&address=<?=$address;?>&city=<?=$city;?>&state=<?=$state;?>&zipcode=<?=$zipcode;?>" target=_blank class=textwhitelink>Map it!</a> --> </tr> <tr> <td width="100%" class="style22" align=left colspan="2"><a name=s1"<?=$i?>"></a><a href="#<?=$i?>"><IFRAME frameBorder=0 height=19 width=190 id=tickermain6 marginHeight=0 marginWidth=0 scrolling=no src="phone1.php?mobile=<?=$mobile;?>" width=150></IFRAME><!--onclick="fun2(event)"tarket=_blank class="whiteurl"><b><font color=055130>Local Phone Number</font></b>--></a></td> </tr> </table> </center> </div> </TD> <TD background="images/listing_04.gif" WIDTH=19 HEIGHT=1>  </TD> <TD background="images/listing_05.gif" WIDTH=129 HEIGHT=1>  </TD> <TD background="images/listing_06.gif" WIDTH=21 HEIGHT=1>  </TD> <TD WIDTH=260 HEIGHT=1 rowspan="3" align="center" valign="top"> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" height="1"> <tr> <td width="100%" align="center" height="12"> <img src="images/123.gif"> <!--<img src="images/light color"> --> <table border="0" cellpadding="3" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="90%" height="82"> <tr> <td width="100%" class="textwhitebold" align="left" height="16"><b><font color="white" size="2"> <!--Services --></font></b></tr><tr><td width="100%" class="style22" align="left" height="54" valign="top"><table width=100% border=0></table></td></tr><tr><td><?$link="counting.php?uid=".$getuserdata['user_id']."&site=".$site."";?><? if($site!="") { ?><a href="<?=$link?>" class=style22 target="_blank"><img border="0" src="images/view_profile.jpg" width="88" height="29" class="style22"></a> <? } else {?>               <? } ?> <a href="<?=$folder?>/index11.php" class=style22 target="_blank"><img border="0" src="images/special_offer.jpg" width="88" height="29" class="style22"></a></td></tr> </tr> </table> </td> </tr> <tr> <td width="100%" align="center" height="1"> </td> </tr> </table> </TD> <TD background="images/listing_08.gif" WIDTH=31 HEIGHT=1>  </TD> </TR> <TR> <TD height="27"> <IMG SRC="images/left1.gif" WIDTH=28 HEIGHT=135 ALT=""></TD> <TD height="27"> <IMG SRC="images/right1.gif" WIDTH=19 HEIGHT=135 ALT=""></TD> <TD background="images/photospace1.gif" WIDTH=129 HEIGHT=135 align="center"> <img border="0" src="<?=$FilePath;?>" width="91" height="115" class="imgborder"></TD> <TD height="27"> <IMG SRC="images/left2.gif" WIDTH=21 HEIGHT=135 ALT=""></TD> <TD height="27"> <IMG SRC="images/right2.gif" WIDTH=31 HEIGHT=135 ALT=""></TD> </TR> <TR> <TD background="images/listing_16.gif" WIDTH=28 HEIGHT=1>  </TD> <TD background="images/listing_18.gif" WIDTH=19 HEIGHT=1>  </TD> <TD background="images/listing_19.gif" WIDTH=129 HEIGHT=1 align="center">  </TD> <TD background="images/listing_20.gif" WIDTH=21 HEIGHT=1>  </TD> <TD background="images/listing_22.gif" WIDTH=31 HEIGHT=1>  </TD> </TR> <TR> <TD COLSPAN=7 height="31"> <IMG SRC="images/listing_23.gif" WIDTH=750 HEIGHT=31 ALT=""></TD> </TR></TABLE> <? } //Falsh2 End ?><?}?><? $executeusers=@mysql_query("select * from dental_users where status != 'yes' and user_id in($User_Id) order by rank asc"); $gettotalusers=@mysql_num_rows($executeusers); //New End for($i=0;$i<$gettotalusers;$i++) { $getuserdata=mysql_fetch_array($executeusers); $userid=$getuserdata['user_id']; $username1=$getuserdata['name']; $folder=$getuserdata['folder_name']; $btitle1=$getuserdata['businesstitle']; $address1=$getuserdata['address']; $city1=$getuserdata['city']; $stateid=$getuserdata['state']; $getstate="select * from dental_state where state_id='".$stateid."'"; $exestate=mysql_query($getstate) or die(mysql_error()); $getstatedata=mysql_fetch_array($exestate); $state=$getstatedata['state_name']; $zipcode1=$getuserdata['zipcode']; $mobile=$getuserdata['mobileno']; $mailid=$getuserdata['emailid']; $site1=$getuserdata['siteaddress']; $userimage=$getuserdata['userimage']; $description1=$getuserdata['bullet_pts']; $description2=$getuserdata['bullet_pts1']; $description3=$getuserdata['bullet_pts2']; $dentalist_rank=$getuserdata['rank']; $FilePath="userimages/".$userimage;?></td></tr><tr><td><? //Falsh2 Start; // $dentalist_rank=$getuserdata['rank']; if($dentalist_rank == 1) { ?><TABLE align="center" WIDTH=750 BORDER=0 CELLPADDING=0 CELLSPACING=0 height="190" bgcolor="#FFFFFF" style="border-collapse: collapse" bordercolor="#111111"><TR><TD COLSPAN=7 height="24"><!--<img src="images/listing_guru.gif" width=750 height=24 alt="">--></TD></TR><TR><TD background="" WIDTH=10 HEIGHT=1> </TD><TD WIDTH=262 HEIGHT=1 rowspan="3" align="center" valign="top"> <table border="0" cellpadding="2" cellspacing="0" bordercolor="#111111" width="276%" style="border-collapse: collapse"> <tr> <td colspan=2 align=left width="52%" ><font size="4" face="Times New Roman, Times, serif"> <?=$btitle1;?></font></td> </tr><tr> <td colspan=2 align=left width="52%" ><font size="3" face="Times New Roman, Times, serif">Dr. <?=$username1;?></font></td> </tr> <tr> <td width="100%" align=left colspan="2"><font size="2"><?=$address1;?> <br><?=$city1;?>, <?=$state1;?> <?=$zipcode1;?></font></td> </tr> <tr> <td width="100%" align=left colspan="2"> <a href="#" onclick="java script:window.open('http://www.mapquest.com/maps/map.adp?country=US&countryid=US&addtohistory=&searchtype=address&cat=&address=<?=$address;?>&city=<?=$city;?>&state=<?=$state;?>&zipcode=<?=$zipcode;?>','mywindow','scrollbars=yes,width=1000,height=700')" class=""><font size="2">Map it! </font></a></td> <!-- <a href="http://www.mapquest.com/maps/map.adp?country=US&countryid=US&addtohistory=&searchtype=address&cat=&address=<?=$address1;?>&city=<?=$city1;?>&state=<?=$state1;?>&zipcode=<?=$zipcode1;?>" target=_blank class=textwhitelink>Map it!</a> --> </tr> <tr> <td width="100%" align=left colspan="2"><a name=s"<?=$i?>"></a><a href="#<?=$i?>"> <IFRAME frameBorder=0 height=25 width=190 id=tickermain6 marginHeight=0 marginWidth=0 scrolling=no src="phone.php?mobile=<?=$mobile;?>" width=150></IFRAME> </a></td> </tr> <tr> <td width="100%" size = "1" align=left colspan="2"><a target="blank" href=http://<?=$site1 ?>> <font size="2"><?=$site1?> </font></a></td> </tr> </table> </TR> <TR> <TD > <!-- <img src="images/left1.gif" width=28 height=135 alt=""> --></TD> </TR> </TABLE> <? } ?><?}?><? if($gettotalusersd<=0 and $gettotalusers<=0) { //echo "<font color=\"#FFFFFF\">" . "No match found within your area.........." . "</font>"; echo "<table height=350 width=100% align=center bgcolor=\"#FFFFFF\">"; echo "<tr><td align=center class=style22><B> No match found within your area..........</B>"; echo "<br><br>                  <a href=index.php class=style22>Go Back</a></td></tr>"; echo "</table>"; }?> </td></tr><? include "includes/footer.php"; ?><script language="JavaScript" type="text/JavaScript"><!--function MM_openBrWindow(theURL,winName,features) { //v2.0 window.open(theURL,winName,features);}function fun1(event){ x=event.clientX; y=event.clientY; myRef = window.open('http://dentalartcenter.com/viewphone.php?mobile=<?=$mobile;?>','mywin','left='+x+',top='+y+',width=150,height=15,toolbar=0,resizable=0');}//--></script><script language="JavaScript" type="text/JavaScript"><!--function MM_openBrWindow(theURL,winName,features) { //v2.0 window.open(theURL,winName,features);}function fun2(event){ x=event.clientX; y=event.clientY; myRef = window.open('http://dentalartcenter.com/viewphone1.php?mobile=<?=$mobile;?>','mywin','left='+x+',top='+y+',width=150,height=15,toolbar=0,resizable=0');}//--></script>

Link to comment
Share on other sites

Yes Rejoice, very very helpful there </sarcasm>babinlal: It looks like the code is okay - except that you're blinding accepting info from $_REQUEST['folder']. Imagine if someone changes the POST or GET variable to "../../../", then a chmod will reveal make your filesystem open to all. Make sure you clean up that request before doing anything, and do your best to limit the access as much as possible. Does the public need write access AND exec access? 0777 is TOO open, consider 0775 or 0755. But to your problem, the origin is at line 6 with the first chmod. I suspect that your php might be running as a different user that does NOT have permissions to modify the filesystem. Are you using a host? Are you running this on your own server? Make sure whatever user php runs as has access, because that seems to be the issue here.

Link to comment
Share on other sites

It looks like the code is okay - except that you're blinding accepting info from $_REQUEST['folder']. Imagine if someone changes the POST or GET variable to "../../../", then a chmod will reveal make your filesystem open to all.
Hence the existence of safe mode in PHP, which, by the way, is no longer an option in PHP6 for whatever reason.I'm putting my money on the fact that safe mode is enabled. You can check like this:echo "safe mode: " . ini_get("safe_mode");If it is on, then you cannot use chmod, and not only that, but when you create a directory the PHP process does not own it and cannot write to it or otherwise alter it. Which is fun.If that is the case, you will need to make an FTP connection to the server and use the FTP commands. Then you will be able to use chmod, and the directory will be created with the PHP process as the owner.Edit this to suit your needs, you can leave the IP address as it is. Also, like shiftJIS said, if you can avoid mode 0777 and use 0775, 0755, or 0644, it will probably be better. The chmod happens in the function below, so find that and change it to suit your needs. Also, keep in mind that this function starts in the root of the FTP server, wherever that is. FTP to the server yourself and check, but keep that in mind when specifying the path.
<?php// create directory through FTP connection function FtpMkdir($path, $newDir) {   $server = '127.0.0.1'; // ftp server   $connection = ftp_connect($server); // connection   // login to ftp server    $user = "me";    $pass = "password";    $result = ftp_login($connection, $user, $pass);   // check if connection was made    if ((!$connection) || (!$result)) { 	   return false; 	   exit();    } else { 	   if (!ftp_chdir($connection, $path)) { // go to destination dir 		   $r = false;	   } else if (!ftp_mkdir($connection,$newDir)) { // create directory 		   $r = false;	   } else if (!ftp_site($connection, "CHMOD 0777 $newDir") { // change attributes		   $r = false;	   } else { 		   $r = $newDir; 	   }   }       ftp_close($connection); // close connection       return $r;}?>

Link to comment
Share on other sites

Viewusers.php<? //session_start(); include "include/header.php";include "include/config.inc.php";//include "eventscode/View_activity.php";//if ($_SESSION[user]){$qry = mysql_query("SELECT * FROM register");$num = mysql_num_rows($qry);$num = floor($num/10);if($_REQUEST['act']){ $delete="delete from register where user_id='".$_REQUEST['qty_id']."'"; $delet_sql=mysql_query($delete)or die(mysql_error()); }if($_REQUEST['pro_id']) { $selquery="UPDATE register SET "; if($_REQUEST['fn']=="1") $selquery.="status='0'"; else $selquery.="status='1'"; $selquery.=" WHERE user_id=".$_REQUEST['pro_id']; $selresult = mysql_query($selquery) or die(mysql_error()); }?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html><head> <title>Match</title> <link href="css/style.css" rel="stylesheet" type="text/css"></head><body leftmargin=0 topmargin=0 marginheight="0" marginwidth="0" bgcolor="#E6E6E6"><table border="0" cellpadding="0" cellspacing="0" width="768" align="center"><tr valign="top"> <td width="185" background="images/fon_left03.gif"><? include 'leftmenu.php'; ?></td> <td bgcolor="#FFFFFF" width="572"><div align="center"><img src="images/m_top.gif" width="572" height="8" alt="" border="0"></div><p class="px5"><table border="0" cellpadding="0" cellspacing="0" width="95%" align="center" height="25" background="images/fon_bar01.gif"> <tr> <td><table border="0" cellpadding="0" cellspacing="0" background="" bgcolor="#FFFFFF"> <tr> <td><img src="images/e03.gif" width="21" height="21" alt="" border="0" align="left"></td> <td><p class="bar01" style="color: #DA0008; font-size: 18px;">Admin </p></td> </tr> </table></td> </tr></table><br><table width="95%" border="0"> <tr class="right"> <td align="center" bgcolor="#FFFFFF"><b> </b></td> <td align="center" bgcolor="#FFFFFF"><b> </b></td> </tr> <tr> <td><table width="90%" border="0" cellpadding=0 cellspacing=0 align="center"> <tr bgcolor="#FFFFFF"> <td colspan="4"><div align="center" class="msg"></div></td> </tr> <tr class="right"> <td align="center" bgcolor="#FFFFFF"><U>List of Users </U></td> <td align="center" bgcolor="#FFFFFF"><b></b></td> </tr> <tr class="right"> <td align="center" bgcolor="#FFFFFF"><b></b></td> <td align="center" bgcolor="#FFFFFF"><b></b></td> </tr> <? if($msg1){?> <tr class="right"> <td align="center" colspan=3><? echo "<font color='red'>Updated Successfully</font>";?></td> </tr> <tr> <td align="center" colspan=3> </td> </tr><?}?> <tr bgcolor="#FFFFFF"> <td colspan=3 align="right"> <table width="95%" align="center" border="1" bordercolor="#FF3300" style="border-collapse:collapse"> <tr height="22"> <th width="50">Sl. No</th> <th width="200">User Name</th> <th width="200">Member ID</th> <th width="200">Mail Address</th> <th>Action</th> </tr> <? $pgs=5; $cur_page = $_REQUEST['page']; $list_per_page =$pgs; $current_page = $cur_page; $select="select * from register order by uname asc"; $select_sql=mysql_query($select)or die(mysql_error()); $num=mysql_num_rows($select_sql); $total_rows = $num; $total_pages = ceil($total_rows/$list_per_page); if ($current_page == "" || $current_page == 0) $current_page = 1; $start_rec_no = (($current_page-1) * $list_per_page) + 1; $end_rec_no = $current_page * $list_per_page; $sql = "select * from register limit ".($start_rec_no - 1).", $list_per_page "; $res = mysql_query($sql); echo mysql_error(); while (mysql_num_rows($res) <= 0) { $current_page = $current_page - 1; $start_rec_no = (($current_page-1) * $list_per_page) + 1; $end_rec_no = $current_page * $list_per_page; $sql = "select * from register limit ".($start_rec_no -1)." , $list_per_page "; $res = mysql_query($sql); echo mysql_error(); if ($current_page <= 0) { $current_page = 1; break; } }if($current_page!=1) { $firstpage="<a href='viewuser.php?page=1&pg=$pgs'><img src=images/red_arrow_first.GIF border=0></a>"; } $previous_page = $current_page - 1; if ($previous_page > 0) $previous_page_link = "<a href='viewuser.php?page=$previous_page&pg=$pgs' class='link1'><img src=images/red_arrow_left.GIF border=0></a> "; else $previous_page_link = " "; $next_page = $current_page + 1; if ($next_page <= $total_pages) $next_page_link = " <a href='viewuser.php?page=$next_page&pg=$pgs' class='link1'><img src=images/red_arrow_right.GIF border=0></a>"; else $next_page_link = " "; $pages_link = ""; for ($i=1; $i<=$total_pages; $i++) { if ($i == $current_page) $pages_link.=" <span >".$i."</span> "; else $pages_link.=" <a href='viewuser.php?page=$i&pg=$pgs' class='link1'>$i</a> "; if ($i%30 == 0 ) $pages_link.="<br>"; } if($current_page!=$total_pages) { $lastpage="<a href='viewuser.php?page=$total_pages&pg=$pgs' class='link1'><img src=images/red_arrow_last.GIF border=0></a>"; } $count = 0; $sl = 0;/***************page end******************/$i=0;$m=0; $k=0; while($res=mysql_fetch_object($select_sql)){ $k++; $sl++; $count++; $m++; if ($count >= $start_rec_no && $count <= $end_rec_no) { if($m%2==0) {?><tr bgcolor="#D3D8E7" class="right_text"><?} else {?><tr bgcolor="#eef0eb" class="right_text"><?}?><td align=center><?=$k?></td><td align=center><?=$res->uname." ".$res->user_lname?></td><td align=center><?=$res->member_id ?></td><td align=center><?=$res->email ?></td><td align=center class='link' ><a href='view_individual_user.php?eid=<?=$res->user_id?>' ><IMG SRC="images/view.gif" BORDER="0" ALT="View"></a>  <a href='viewuser.php>act=del&&qty_id=<?=$res->user_id?>' onclick="return confirm('Are you sure to delete this User?');"><IMG SRC="images/b_drop.png" BORDER="0" ALT="Delete"></a>  <a href='edit_user.php?eid=<?=$res->user_id?>' ><IMG SRC="images/b_edit.png" BORDER="0" ALT="Edit"></a>  <? if($res->status == "1") { ?> <a href="viewuser.php?fn=1&pro_id=<?=$res->user_id?>"><IMG SRC="images/e4.gif" WIDTH="20" HEIGHT="20" BORDER="0" ALT="Enabled"></a> <?}else{?> <a href="viewuser.php?fn=0&pro_id=<?=$res->user_id?>"><IMG SRC="images/e3.gif" WIDTH="20" HEIGHT="20" BORDER="0" ALT="Disabled"></a> <?}?></td> </tr> <?}}?> </table> </td> </tr> <tr class="right"> <td align="center" bgcolor="#FFFFFF" colspan="3"><b> </b></td> </tr> <tr> <td colspan="4" align="right"><FONT color="#000000" size=2 face=verdana class="left"><b><?=$firstpage?> <?=$previous_page_link?> <?=$pages_link?> <?=$next_page_link?> <?=$lastpage?> </b></font></td> </tr></table></td> </tr></table></td></table><table border="0" cellpadding="0" cellspacing="0" width="758" align="center"><tr> <td height="52" align="right" background="images/bot.gif"> </td></tr><tr> <td><p align="right" style="margin-right: 200px;">Copyright ©2006 wedeliverlove.com</p></td></tr></table><!-- <FONT color="#000000" size=2 face=verdana class="left"><b> Page:  <?=$pages_link?> </b></font> --></body></html><?//}else{ //header('location: index.php');//}?>edit_user.php<?//ob_start();//session_start();include "include/header.php";include "include/config.inc.php";//include "spiffyCal/spiffyCal_v2_1.js";//if($_SESSION['user1'])//{ $sel11="select * from register where user_id='".$_REQUEST['eid']."'"; $sel_sql11=mysql_query($sel11)or die(mysql_error()); $rowss=mysql_fetch_object($sel_sql11);$date=$rowss->dob;$dob = explode("-",$date);$year= $dob[0];$month=array("Select Month","January","February","March","April","May","June","July","Augest","September","October","November","December");$mo= $dob[1];$day= $dob[2]; if($_REQUEST['add']) if($_POST) { $sel="select * from register where user_id ='".$_REQUEST['eid']."'"; $sel_sql=mysql_query($sel)or die(mysql_error()); $num=mysql_num_rows($sel_sql); $da=$_REQUEST['dy']; $mon=$_REQUEST['nth']; $ye=$_REQUEST['yr']; $dob=$ye."-".$mon."-".$da; /*if($num) { $msg="Country Already Exists"; }else{*/ $int="update register set uname='".$_REQUEST['uname']."',email='".$_REQUEST['email']."',phone='".$_REQUEST['phone']."',gender='".$_REQUEST['gender']."',countryid='".$state."',dob='".$dob."', relig='".$relig."', eye_id='".$eye."', hair_id='".$hair."', race_id='".$race."', height_id='".$height."' , body_id='".$body."', int_id='".$inter."' where user_id='".$_REQUEST['eid']."'"; $int_sql=mysql_query($int)or die(mysql_error()); header("location:viewuser.php?eid=$_REQUEST[eid]&msg1=1"); //} $inti1="update login set uname='".$_REQUEST['uname']."',email='".$_REQUEST['email']."',countryid='".$res_qry1->countries_id ."' where id='".$_REQUEST['eid']."'"; $int_sql1=mysql_query($inti1)or die(mysql_error()); header("location:viewuser.php?eid=$_REQUEST[eid]&msg1=1"); }?><script language="javascript">function valid(){ if(document.frm.uname.value =="") { alert("Please enter the User Name"); document.frm.uname.focus(); return false; } if(document.frm.uname.value!="") { var MN = document.frm.uname.value.substring(0,1); if ( MN == ' ') { alert("\n First character should not be a space "); document.frm.uname.value=""; document.frm.uname.focus(); return false; } } if(document.frm.email.value!="") { var FN = document.frm.email.value.substring(0,1); if ( FN == ' ') { alert("\n In the email, first character should not be a space "); document.frm.email.select(); document.frm.email.focus(); return false; } } if(document.frm.email.value==""){ alert("Please enter a email address"); document.frm.email.focus(); return false; } if(document.frm.email.value=="") { alert("Please enter your email address"); document.frm.email.focus(); return false; } if (/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(reg.email.value)) { //ok; } else { alert("Invalid email address! Please re-enter."); document.frm.email.focus(); return false; } return true;}</script><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html><head> <title>wedeliverlove.com</title> <link href="css/style.css" rel="stylesheet" type="text/css"><div id="spiffycalendar" class="text"></div> <link rel="stylesheet" type="text/css" href="javascript/spiffyCal/spiffyCal_v2_1.css"><script language="JavaScript" src="javascript/spiffyCal/spiffyCal_v2_1.js"></script><script language="javascript"> var d = new ctlSpiffyCalendarBox("d", "frm", "dob","button1","",scBTNMODE_CUSTOMBLUE); //var w = new ctlSpiffyCalendarBox("w", "weekly", "weekly_text","button2","",scBTNMODE_CUSTOMBLUE);</script> </head><body leftmargin=0 topmargin=0 marginheight="0" marginwidth="0" bgcolor="#E6E6E6"><table border="0" cellpadding="0" cellspacing="0" width="768" align="center"><tr valign="top"> <td width="185" background="images/fon_left03.gif"><? include 'leftmenu.php'; ?></td> <td bgcolor="#FFFFFF" width="572"><div align="center"><img src="images/m_top.gif" width="572" height="8" alt="" border="0"></div><p class="px5"><table border="0" cellpadding="0" cellspacing="0" width="95%" align="center" height="25" background="images/fon_bar01.gif"> <tr> <td><table border="0" cellpadding="0" cellspacing="0" background="" bgcolor="#FFFFFF"> <tr> <td><img src="images/e03.gif" width="21" height="21" alt="" border="0" align="left"></td> <td><p class="bar01" style="color: #DA0008; font-size: 18px;">Admin </p></td> </tr> </table></td> </tr></table><br><table width="95%" border="0"> <tr class="right"> <td align="center" bgcolor="#FFFFFF"><b> </b></td> <td align="center" bgcolor="#FFFFFF"><b> </b></td> </tr> <tr> <td><table width="90%" border="0" cellpadding=0 cellspacing=0 align="center"> <tr bgcolor="#FFFFFF"> <td colspan="4"><div align="center" class="msg"></div></td> </tr> <tr class="right"> <td align="center" bgcolor="#FFFFFF"><b></b></td> <td align="center" bgcolor="#FFFFFF"><b></b></td> </tr> <tr> <td colspan=3 class="text_b" align=center><b> Edit User Details</b></td> </tr> <tr> <td class="text_red" align="center" colspan=3><?=$msg?></td> </tr> <? if($msg1){?> <tr class="right"> <td align="center" colspan=3><? echo "<font color='red'>Updated Successfully</font>";?></td> </tr> <tr> <td align="center" colspan=3> </td> </tr><?}?> <tr><td colspan=3> </td></tr> <form name="frm" method="POST" Onsubmit="valid()"> <tr class="right"><td width="100"> </td><td>User Details</td> <td><input name="uname" type="text" class="InpBox" value="<?=$rowss->uname?>"></td></tr> <tr><td colspan=3> </td></tr> <tr class="right"><td width="100"> </td><td>Email Address</td> <td><input name="email" type="text" class="InpBox" value="<?=$rowss->email?>"></td></tr> <tr><td colspan=3> </td></tr> <tr class="right"><td width="100"> </td><td>Phone</td> <td><input name="phone" type="text" class="InpBox" value="<?=$rowss->phone?>"></td></tr> <tr><td colspan=3> </td></tr> <tr class="right"><td width="100"> </td><td>Gender</td> <td><input name="gender" type="text" class="InpBox" value="<?=$rowss->gender?>"></td></tr> <tr><td colspan=3> </td></tr> <tr class="right"><td width="100"> </td><td>Country</td> <td><select class=InpBox name="state"> <? $qry1 = mysql_query("SELECT * FROM countries WHERE countries_id ='".$rowss->countryid."'"); $res_qry1 = mysql_fetch_object($qry1); $getphone="SELECT * FROM countries order by countries_id"; $exe=mysql_query($getphone) or die(mysql_error()); $rows=mysql_num_rows($exe); for($i=0;$i<=$rows;$i++){ $data=mysql_fetch_array($exe); if($data['countries_id']==$state) echo"<option value=".$rowss->countryid." selected>".$res_qry1->countries_name."</option>"; else echo"<option value=".$data['countries_id'].">".$data['countries_name']."</option>"; } ?> </select></td></tr> <tr><td colspan=3> </td></tr> <tr class="right"><td width="100"> </td><td>Reliegion</td> <td><select class=InpBox name="relig"> <? $qry2 = mysql_query("SELECT * FROM religion WHERE rel_id ='".$rowss->relig."'"); $res_qry2 = mysql_fetch_object($qry2); $getphone2="SELECT * FROM religion order by rel_id"; $exe2=mysql_query($getphone2) or die(mysql_error()); $rows2=mysql_num_rows($exe2); for($i=0;$i<=$rows2;$i++){ $data2=mysql_fetch_array($exe2); if($data2['rel_id']==$relig) echo"<option value=".$rowss->relig." selected>".$res_qry2->religion_name."</option>"; else echo"<option value=".$data2['rel_id'].">".$data2['religion_name']."</option>"; } ?> </select></td></tr> <tr><td colspan=3> </td></tr> <tr class="right"><td width="100"> </td><td>Eye Color</td> <td><select class=InpBox name="eye"> <? $qry3 = mysql_query("SELECT * FROM eye WHERE eye_id ='".$rowss->eye_id."'"); $res_qry3 = mysql_fetch_object($qry3); $getphone3="SELECT * FROM eye order by eye_id"; $exe3=mysql_query($getphone3) or die(mysql_error()); $rows3=mysql_num_rows($exe3); for($i=0;$i<=$rows3;$i++){ $data3=mysql_fetch_array($exe3); if($data3['rel_id']==$eye) echo"<option value=".$rowss->eye_id." selected>".$res_qry3->eye_color."</option>"; else echo"<option value=".$data3['eye_id'].">".$data3['eye_color']."</option>"; } ?> </select></td></tr> <tr><td colspan=3> </td></tr> <tr class="right"><td width="100"> </td><td>Hair Color</td> <td><select class=InpBox name="hair"> <? $qry4 = mysql_query("SELECT * FROM haircolor WHERE hair_id ='".$rowss->hair_id."'"); $res_qry4 = mysql_fetch_object($qry4); $getphone4="SELECT * FROM haircolor order by hair_id"; $exe4=mysql_query($getphone4) or die(mysql_error()); $rows4=mysql_num_rows($exe4); for($i=0;$i<=$rows4;$i++){ $data4=mysql_fetch_array($exe4); if($data4['hair_id']==$hair) echo"<option value=".$rowss->hair_id." selected>".$res_qry4->hair_color."</option>"; else echo"<option value=".$data4['hair_id'].">".$data4['hair_color']."</option>"; } ?> </select></td></tr> <tr><td colspan=3> </td></tr> <tr class="right"><td width="100"> </td><td>Race</td> <td><select class=InpBox name="race"> <? $qry5 = mysql_query("SELECT * FROM race WHERE race_id ='".$rowss->race_id."'"); $res_qry5 = mysql_fetch_object($qry5); $getphone5="SELECT * FROM race order by race_id"; $exe5=mysql_query($getphone5) or die(mysql_error()); $rows5=mysql_num_rows($exe5); for($i=0;$i<=$rows5;$i++){ $data5=mysql_fetch_array($exe5); if($data5['race_id']==$race) echo"<option value=".$rowss->race_id." selected>".$res_qry5->race_name."</option>"; else echo"<option value=".$data5['race_id'].">".$data5['race_name']."</option>"; } ?> </select></td></tr> <tr><td colspan=3> </td></tr> <tr class="right"><td width="100"> </td><td>Height</td> <td><select class=InpBox name="height"> <? $qry6 = mysql_query("SELECT * FROM height WHERE height_id ='".$rowss->height_id."'"); $res_qry6 = mysql_fetch_object($qry6); $getphone6="SELECT * FROM height order by height_id"; $exe6=mysql_query($getphone6) or die(mysql_error()); $rows6=mysql_num_rows($exe6); for($i=0;$i<=$rows6;$i++){ $data6=mysql_fetch_array($exe6); if($data6['height_id']==$height) echo"<option value=".$rowss->height_id." selected>".$res_qry6->height."</option>"; else echo"<option value=".$data6['height_id'].">".$data6['height']."</option>"; } ?> </select></td></tr> <tr><td colspan=3> </td></tr> <tr class="right"><td width="100"> </td><td>Body Type</td> <td><select class=InpBox name="body"> <? $qry7 = mysql_query("SELECT * FROM body WHERE body_id ='".$rowss->body_id."'"); $res_qry7 = mysql_fetch_object($qry7); $getphone7="SELECT * FROM body order by body_id"; $exe7=mysql_query($getphone7) or die(mysql_error()); $rows7=mysql_num_rows($exe7); for($i=0;$i<=$rows7;$i++){ $data7=mysql_fetch_array($exe7); if($data7['body_id']==$body) echo"<option value=".$rowss->body_id." selected>".$res_qry7->body_type."</option>"; else echo"<option value=".$data7['body_id'].">".$data7['body_type']."</option>"; } ?> </select></td></tr> <tr><td colspan=3> </td></tr> <tr class="right"><td width="100"> </td><td>Interest</td> <td><select class=InpBox name="inter"> <? $qry8 = mysql_query("SELECT * FROM interest WHERE int_id ='".$rowss->int_id."'"); $res_qry8 = mysql_fetch_object($qry8); $getphone8="SELECT * FROM interest order by int_id"; $exe8=mysql_query($getphone8) or die(mysql_error()); $rows8=mysql_num_rows($exe8); for($i=0;$i<=$rows8;$i++){ $data8=mysql_fetch_array($exe8); if($data8['int_id']==$inter) echo"<option value=".$rowss->int_id." selected>".$res_qry8->inter."</option>"; else echo"<option value=".$data8['int_id'].">".$data8['inter']."</option>"; } ?> </select></td></tr> <tr><td colspan=3> </td></tr> <tr class="right"><td width="100"> </td><td>Language</td> <td><select class=InpBox name="lan"> <? $qry9 = mysql_query("SELECT * FROM language WHERE lan_id ='".$rowss->lan_id."'"); $res_qry9 = mysql_fetch_object($qry9); $getphone9="SELECT * FROM language order by lan_id"; $exe9=mysql_query($getphone9) or die(mysql_error()); $rows9=mysql_num_rows($exe9); for($i=0;$i<=$rows9;$i++){ $data9=mysql_fetch_array($exe9); if($data9['lan_id']==$lan) echo"<option value=".$rowss->lan_id." selected>".$res_qry9->language_name."</option>"; else echo"<option value=".$data9['lan_id'].">".$data9['language_name']."</option>"; } ?> </select></td></tr> <tr><td colspan=3> </td></tr> <tr class="right"><td width="100"> </td><td>Education</td> <td><select class=InpBox name="edu"> <? $qry10 = mysql_query("SELECT * FROM education WHERE edu_id ='".$rowss->edu_id."'"); $res_qry10 = mysql_fetch_object($qry10); $getphone10="SELECT * FROM education order by edu_id"; $exe10=mysql_query($getphone10) or die(mysql_error()); $rows10=mysql_num_rows($exe10); for($i=0;$i<=$rows10;$i++){ $data10=mysql_fetch_array($exe10); if($data10['edu_id']==$edu) echo"<option value=".$rowss->edu_id." selected>".$res_qry10->education."</option>"; else echo"<option value=".$data10['edu_id'].">".$data10['education']."</option>"; } ?> </select></td></tr> <tr><td colspan=3> </td></tr> <tr class="right"><td width="100"> </td><td>Date of Birth</td> <td> <!-- <input name="dob" type="text" class="InpBox" value="<?// $rowss->dob?>"> --> <SELECT class="" name="dy"><?=$day?> <? for($i=01;$i<=31;$i++) { ?> <OPTION value="<?=$i?>"<? if($day==$i) echo "selected";?>><? if($i < 10) {echo "0";}echo $i?></OPTION> <? } ?> </SELECT> <SELECT class="" name="nth"> <? for($monthc = 0;$monthc < 13; $monthc++) { if($mo==$monthc) $sel = "Selected"; else $sel = ""; ?> <OPTION value="<? if($monthc < 10) {echo "0";}echo $monthc;?>" <?=$sel?>><?=$month[$monthc]?></OPTION><? }?> </SELECT> <SELECT class="" name="yr"> <? for($i=1916;$i<=(date('Y')-16);$i++) { ?> <OPTION value="<?=$i?>"<? if($year==$i) echo "selected";?>><?=$i?></OPTION> <? } ?></td> </tr> <tr><td colspan=3> </td></tr> <tr><td colspan=3 align="center"><input name="add" type="submit" class="SubBtn" value="Update"></td></tr> </form> </table> </td> </tr> <tr class="right"> <td align="center" bgcolor="#FFFFFF" colspan="3"><b> </b></td> </tr> </table></td></table> <table border="0" cellpadding="0" cellspacing="0" width="758" align="center"><tr> <td height="52" align="right" background="images/bot.gif"> </td></tr><tr> <td><p align="right" style="margin-right: 200px;">Copyright ©2006 wedeliverlove.com</p></td></tr></table><?//}else{ //header('location: index.php');//}?>User/Join.php<? session_start();include "include/header.php";include "include/config.inc.php";if($_POST){ $uname=$_REQUEST['uname']; $pass=$_REQUEST['pass']; $email=$_REQUEST['email']; $gender=$_REQUEST['gender']; $dat=$_REQUEST['dat']; $mon=$_REQUEST['mon']; $month=array("Select Month","January","February","March","April","May","June","July","Augest","September","October","November","December"); $yr=$_REQUEST['yr']; $dob=$yr."-".$mon."-".$dat; $today=date('y-m-d'); //echo $ag=date('Y'-$dat); $ag=(date('Y')-$yr);// echo $today; //echo $dob; $category=$_REQUEST['category']; $look=$_REQUEST['look'];$names="MM".rand();$names;$_SESSION["member_id"]=$names;$alias = mt_rand();$alias = $alias . "@wedeliverlove.com"; $sele="select * from register where uname='$uname' ";$sql_sele=mysql_query($sele)or die(mysql_error());$num=mysql_num_rows($sql_sele);$sele2="select * from register where email='$email' ";$sql_sele2=mysql_query($sele2)or die(mysql_error());$num2=mysql_num_rows($sql_sele2);if($num!=0){$msg="User Name Already Exist";}if($num2!=0){$msg="Mail Address Already Exist";}if(($num==0) &&($num2==0)) { $insert="insert into register(user_id,uname,pass,email,alias_email,gender,dob,countryid,looking,Cre_date,last_view,member_id,age) values('','$uname','$pass','$email','$alias','$gender','$dob','$category','$look','$today','$today','$names','$ag')"; $sql_insert= mysql_query($insert) or die("not executed"); $msg="Registered Sucessfully"; $insert1="INSERT INTO members( member_id ) VALUES ('$names') "; $sql=mysql_query($insert1); $insert2="INSERT INTO relationship(`member_id`,`friendship`,`marriage`,`relationship`,`romance`,`casual`,`travel Partner`) VALUES ('$names','0','0','0','0','0','0') "; $sql2=mysql_query($insert2); ?> <script> window.location='subscribe.php'; </script> <?$subject=" Wedeliver Love";$body ='<html><head><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Untitled Document</title><link href="style.css" rel="stylesheet" type="text/css"><style type="text/css"><!--a:link { color: #000000; text-decoration: none;}a:visited { text-decoration: none;}a:hover { text-decoration: none;}a:active { text-decoration: none;}--></style></head><body><link href="http://g-antssoft.com/wedeliverlove.com/style.css" rel="stylesheet" type="text/css"><table width="780" align="center" cellpadding="0" cellspacing="0"> <!--DWLayoutTable--> <tr> <td width="72"> </td> <td width="626" height="51"><img src="http://g-antssoft.com/wedeliverlove.com/images/TITLE.jpg" width="235" height="51"></td> <td width="74"> </td> </tr> <tr> <td height="19"> </td> <td> </td> <td> </td> </tr> <tr> <td height="71"> </td> <td valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0" bordercolor="#99CC00"> <!--DWLayoutTable--> <tr> <td width="626" height="69" align="center" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0" bordercolor="#FF0000"> <!--DWLayoutTable--> <tr> <td width="577" height="34" valign="top"><table width="109%" border="0" cellpadding="0" cellspacing="0"> <!--DWLayoutTable--> <tr> <td width="20" height="34" rowspan="2" valign="top"><div align="left"></div></td> <td width="604" valign="top"><!--DWLayoutEmptyCell--> </td> </tr> <tr> <td valign="top"><div align="left"> <p><SPAN class="style1" style="COLOR: #284b9d">Hi</SPAN><SPAN class="style1" style="COLOR: #9acb00">' .$name.'</SPAN> </p> <p>Welcome to wedeliverlove.com, the best place to meet quality singles and find that special someone. Heres how to get started:</p> </div></td> </tr> </table></td> </tr> <tr> <td height="19" valign="top"><!--DWLayoutEmptyCell--> </td> </tr> <tr> <td height="69" valign="top">      <p><a href="http://g-antssoft.com/wedeliverlove.com/login.php?ed=' .$names.'"><font color="blue"><ul>1. Click here, to confirm your e-mail address </a></ul>></font><br>    2. Post a free profile <br>    3. Search for quality singles <br>    4. Subscribe to communicate! </br></p> <p>  </p></td> </tr> <tr> <td height="69" valign="top">Why confirm my e-mail address? <br>Its important for Match.com members to be able to communicate with each other. We ask members to confirm their<br> e-mail address to ensure messages reach their intended destination. Confirm your e-mail address now to: <br>- Receive contacts from other members<br>- Contact other members<br>- Post a free profile<br>- Receive Matchfinder, an optional weekly newsletter introducing you to singles in your area <br><br>Note: clicking the above link will automatically sign you in to wedeliverlove.com.</td> </tr> </table></td> </tr> </table></td> <td> </td> </tr> <tr> <td height="19"> </td> <td><p> </p> <p><B class=matchContent>Membership Information</B><BR> Wedeliverlove.com is delighted to have you as a new member! Below are your membership and login details. Please keep these in a secure, safe place: </p> <P> <TABLE cellSpacing=0 cellPadding=0 width=550 border=0> <TBODY> <TR> <TD align=left width=100><P class=matchContentBold>Username <BR> Password <BR> Member ID <BR> E-mail </P></TD> <TD align=left width=450><P class=matchContentBold>:'. $uname .'<BR> : '.$pass.' <BR> : '.$names.' <BR> : '.$email.'</P></TD> </TR> </TBODY> </TABLE> <p></P></td> <td> </td> </tr> <tr> <td> </td> <td><div align="left"><span class="style9">Please do not reply directly to this email. If your require assistance, please click on the Help link on our site </span></div></td> <td> </td> </tr> <tr> <td rowspan="2"> </td> <td><span class="style9">Your Webdeliverlove.com Memeber Support Team</span></td> <td rowspan="2"> </td> </tr> <tr> <td><span class="style9"><a href="http://g-antssoft.com/wedeliverlove.com" style="text-decoration:none">http://g-antssoft.com/wedeliverlove.com/</a></span></td> </tr></table></body></html>';$to ="$email" . ",";$to .="Admin@wedeliverlove.com";//$headers.="From:" $Email;//mail("anand@g-antssoft.com","Testing","SampleTesting");$headers = "MIME-Version: 1.0\r\n";$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";$headers .="From:admin@wedeliverlove.com.com "; /* To send HTML mail, you can set the Content-type header. */ //$headers = "From:".$Email." Content-type: multipart/mixed"; /* additional headers *///n$headers .= "To: Anand <anand@g-antssoft.com>, Dhanabalan <dhanabalan@g-antssoft.com\r\n";//$headers .= "From: Price Quoto <".$Name.">\r\n";$llll=mail($to,$subject,$body,$headers);}else {?> <? $msg; $flag=1; } // } }?><script language="javascript">function validation(){ if(document.reg.uname.value!="") { var FN = document.reg.uname.value.substring(0,1); if ( FN == ' ') { alert("\n In the username, first character should not be a space "); document.reg.uname.select(); document.reg.uname.focus(); return false; } } if(document.reg.uname.value=="") { alert("Please enter a username"); document.reg.uname.focus(); return false; } if(document.reg.pass.value!="") { var FN = document.reg.pass.value.substring(0,1); if ( FN == ' ') { alert("\n In the password, first character should not be a space "); document.reg.pass.select(); document.reg.pass.focus(); return false; } } if(document.reg.pass.value=="") { alert("Please enter a password"); document.reg.pass.focus(); return false; } if((document.reg.pass.value)!=(document.reg.cpass.value)) { alert("Password does not match") document.reg.pass.focus(); return false; } if(document.reg.email.value!="") { var FN = document.reg.email.value.substring(0,1); if ( FN == ' ') { alert("\n In the email, first character should not be a space "); document.reg.email.select(); document.reg.email.focus(); return false; } } if(document.reg.email.value=="") { alert("Please enter your email address"); document.reg.email.focus(); return false; } if (/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(reg.email.value)) { //ok; } else { alert("Invalid email address! Please re-enter.") document.reg.email.focus(); return false; } if((document.reg.email.value) != (document.reg.cemail.value)) { alert("Email Address does not match") document.reg.email.focus(); return false; } if(document.reg.gender.value=="") { alert("Please Select Gender"); document.reg.gender.focus(); return false; } if(document.reg.category.value=="") { alert("Please Select Country"); document.reg.category.focus(); return false; } if(document.reg.p_agree.checked==true) { return true; } else{ alert("Please Agree the Member Terms and Condition"); //document.reg.p_agree.focus(); return false; } }</script><link href="wedeliverlovestyles.css" rel="stylesheet" type="text/css"><style type="text/css"><!--.profile_active_text { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; font-weight: bold; color: #FF0066;}.profile_active_text1 {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; font-weight: bold; color: #FF0066;}.style1 {font-weight: bold}--></style></head><body topmargin="0" leftmargin="0"><table width="100%"border="0" cellpadding="0" cellspacing="0" background="#56595C"> <tr> <td align="center" valign="top" bgcolor="#56595C" scope="col"><table width="780" border="0" cellpadding="0" cellspacing="0" bgcolor="#e2e2e2"> <tr> <td width="781" align="left" valign="top" scope="col"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td scope="col"> </td> </tr> <tr> <td align="left" valign="top" bgcolor="#e2e2e2"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <th height="25" align="left" valign="middle" scope="col"><span class="pink_text"><a href="#" class="pink_text">My Match :</a></span><span class="style1"><a href="search_easy.htm" class="sky_text"> Easy Search </a> </span><span class="pink_text">|</span><span class="style1"> <a href="search_advanced.htm" class="sky_text">Advanced Search </a></span><span class="pink_text">|</span><span class="style1"> <a href="search_member.htm" class="sky_text">Member Search </a> </span><span class="pink_text">|</span><span class="style1"> <a href="search_mutualmatch.htm" class="sky_text">Mutul Matching </a> </span></th> </tr> </table></td> </tr> </table> <table width="780" border="0" cellpadding="0" cellspacing="0"> <tr> <td colspan="2" valign="top"> </td> </tr> <tr> <td width="10" rowspan="2" valign="top"></td> <td valign="top"><span class="reg-heading"><STRONG class=milHexBlue>Subscribe today to communicate instantly...</STRONG></span><BR> <SPAN class=milTxt18><STRONG class=number> </STRONG></SPAN></td> </tr> <tr> <td align="center" valign="top"><SPAN class=milTxt18><STRONG class=number>with millions of quality singles</STRONG></SPAN></td> </tr> <tr> <td colspan="2" valign="top"> </td> </tr> <tr> <td colspan="2" valign="top"><table width="780" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="15"> </td> <td align="left" valign="top"><div align="center"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td width="165" valign="top"><div id="join01d"> <div style="text-align:center; "><span class="help_menu"><strong class="milHexFuschia">5,301</strong></span><br> <span class="milHexBlue"><strong class="box_headng">members online now!</strong><br> </span></div> <table border="0" cellpadding="1" cellspacing="0" width="160"> <tr align="left"> <td colspan="3" valign="bottom" class="milTxt10"> </td> </tr> <tr align="left"> <td colspan="3" valign="bottom" class="milTxt10"><strong class="box_headng">1. Register:</strong></td> </tr> <tr> <td rowspan="4" valign="top"><div style="height:50px; width:6px; background-color:#A8B7DC; "><img src="#request.r_match_url_images#/s.gif" height="1" width="1"></div></td> <td valign="top" class="photo_smalltext">- </td> <td align="left" valign="middle" class="photo_smalltext"><span class="milHexGrey">View full member profiles</span></td> </tr> <tr> <td valign="top" class="photo_smalltext">- </td> <td align="left" valign="middle" class="photo_smalltext"><span class="milHexGrey">Receive previews of new singles</span></td> </tr> <tr> <td valign="top" class="photo_smalltext">-</td> <td align="left" valign="middle" class="photo_smalltext"><span class="milHexGrey">Post your own free photo profile</span></td> </tr> <tr> <td valign="top" class="photo_smalltext">-</td> <td align="left" valign="middle" class="photo_smalltext"><span class="milHexGrey">Use advanced search</span></td> </tr> <tr> <td colspan="3" height="20" valign="bottom" class="milTxt10"> </td> </tr> <tr align="left"> <td height="20" colspan="3" valign="bottom" class="milTxt10"><strong class="box_headng">2. Subscribe:</strong></td> </tr> <tr> <td rowspan="3" valign="top"><div style="height:50px; width:6px; background-color:#A8B7DC; "><img src="#request.r_match_url_images#/s.gif" height="1" width="1"></div></td> <td valign="top" class="photo_smalltext">- </td> <td align="left" valign="middle" class="photo_smalltext"><span class="milHexGrey">Contact other singles in your area</span></td> </tr> <tr> <td valign

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...