ok
Direktori : /home2/selectio/public_html/subamangala/admin/ |
Current File : /home2/selectio/public_html/subamangala/admin/edit-profile.php |
<?php include "header.php"; ini_set("memory_limit", "-1"); ?> <style> .typeahead { border: 2px solid #FFF;border-radius: 4px;padding: 8px 12px;max-width: 300px;min-width: 290px;background: rgba(66, 52, 52, 0.5);color: #FFF;} .tt-menu { width:300px; } ul.typeahead{margin:0px;padding:10px 0px;} ul.typeahead.dropdown-menu li a {padding: 10px !important; border-bottom:#CCC 1px solid;color:#FFF;} ul.typeahead.dropdown-menu li:last-child a { border-bottom:0px !important; } .bgcolor {max-width: 550px;min-width: 290px;max-height:340px;background:url("world-contries.jpg") no-repeat center center;padding: 100px 10px 130px;border-radius:4px;text-align:center;margin:10px;} .demo-label {font-size:1.5em;color: #686868;font-weight: 500;color:#FFF;} .dropdown-menu>.active>a, .dropdown-menu>.active>a:focus, .dropdown-menu>.active>a:hover { text-decoration: none; background-color: #1f3f41; outline: 0; } </style> <style> #meetingForm .dateContainer .form-control-feedback { top: 0; right: -15px; } label.error{ color: red !important; } input[type=checkbox] { -ms-transform: scale(2); /* IE */ -moz-transform: scale(2); /* FF */ -webkit-transform: scale(2); /* Safari and Chrome */ -o-transform: scale(2); /* Opera */ padding: 10px; margin:10px; } input[type=text],input[type=file],input[type=number] { background-color:#FFDC19; font-size:23px; border:1px solid red; } input[type=email]{ background-color:#FFDC19; font-size:23px; border:1px solid red; } textarea,select { background-color:#FFDC19!important; border:1px solid red!important; font-size:20px!important; } select { height:40px!important; } input[type=checkbox],input[type=radio] { background-color:#FFDC19!important; border:1px solid red!important; } input:focus,textarea:focus,select:focus,input[type="radio"]:focus { background: #fc9fff !important; color: #8f0407 !important; caret-color: blue!important; font-weight:bold!important; text-shadow: 0px 0px 0px #000 !important; -webkit-text-fill-color: transparent !important; } .input-group-addon { background-color:#FFDC19!important; border:1px solid red!important; color:#000; } table.table tbody tr:hover td { background-color:none!important; } </style> <!--tamil typing --editor>--> <SCRIPT language=JavaScript src="tamil/utf.js"></SCRIPT> <SCRIPT language=JavaScript src="tamil/tamil.js"></SCRIPT> <script> $(document).ready(function(){ $('input,textarea').on('keydown',function(event){ if(event.which==121){ $(this).toggleClass('tamil'); return false; } if($(this).hasClass('tamil')){ toggleKBMode(event); }else{ return true; } }); $('input,textarea').on('keypress',function(event){ if($(this).hasClass('tamil')){ convertThis(event); } }); }); </script> <!--ends--> <script src="croppie.js"></script> <div class="content-wrapper" style="background:#ecf0f5;"> <div class="col-lg-12 alerts"> <div id="custom-alerts" style="display:none;"> <div class="alert alert-dismissable"> <div class="custom-msg"></div> </div> </div> <?php if ($error) { ?> <div class="alert alert-danger alert-dismissable"> <button aria-hidden="true" data-dismiss="alert" class="close" type="button">×</button> <h4><i class="icon fa fa-ban"></i> Error</h4> <?= $error ?> </div> <?php } if ($warning) { ?> <div class="alert alert-warning alert-dismissable"> <button aria-hidden="true" data-dismiss="alert" class="close" type="button">×</button> <h4><i class="icon fa fa-warning"></i> Warning</h4> <?= $warning ?> </div> <?php } if ($message) { ?> <div class="alert alert-success alert-dismissable"> <button aria-hidden="true" data-dismiss="alert" class="close" type="button">×</button> <h4> <i class="icon fa fa-check"></i> Success</h4> <?= $site_name ?> </div> <?php } ?> </div> <div class="clearfix"></div> <style> table.dataTable th:nth-child(23), table.dataTable th:nth-child(25) { width: 70px; max-width: 70px; } table.dataTable td:nth-child(23), table.dataTable td:nth-child(25){ width: 70px; max-width: 70px; word-break: break-all; white-space: pre-line; } /*.icheckbox_square-blue, .iradio_square-blue {*/ /* width: 22px !important;*/ /* margin-top: 0px !important;*/ /* height: 22px !important;*/ /*}*/ .checkbox-inline+.checkbox-inline, .radio-inline+.radio-inline { margin-top: 0 !important; margin-left: 0px !important; } .checkbox-inline, .radio-inline { margin-bottom: 5px; float: left; } /*.icheckbox_square-blue, .iradio_square-blue {*/ /* width: 22px !important;*/ /* height: 22px !important;*/ /* float: left;*/ /* margin-top: 5px !important;*/ /* margin-left: 15px !important;*/ /* margin-right: 15px !important;*/ /*}*/ a.remove { border: 1px solid black; width: 30px; display: inline-block; /* margin: 0 !important; */ /* padding: 0 !important; */ height: 30px; /* float: left; */ text-align: center; border-radius: 50%; color: #fff; background: brown; /* margin-top: 1px; */ padding-top: 2px; /* margin-top: 0px; */ /* padding-left: 7px; */ } </style> <section class="content"> <?php if (!empty($_GET["id"])) { $profiles_ids = explode(",", $_GET["id"]); } else { $profiles_ids = ""; } ?> <?php $person_profile = $pdo->prepare( "SELECT * FROM `profiles` WHERE id =" . $_GET["id"]); $person_profile->execute(); error_log("SELECT * FROM `profiles` WHERE id =" . $_GET["id"]); $profile_result = $person_profile->fetchAll(PDO::FETCH_ASSOC); ?> <!-- Data Tables Starts Here --> <div class="grids"> <div class="progressbar-heading grids-heading"> <h2 style="text-align: center;font-weight: 600;">பதிவை நிர்வகி</h2> </div> <div class="panel panel-widget forms-panel"> <div class="forms"> <div class="form-grids widget-shadow" data-example-id="basic-forms"> <div class="form-title"> <h3> வரன் பற்றிய தகவல்களை கீழே பதிவிடுக :</h3> </div> <div class="form-body"> <div class="container"> <div class="row"> <?php if(isset($_GET['id']) && $_GET['id']!="") { error_log("SELECT e.*,caste.name as caste_name,subcaste.name as subcaste_name FROM `profiles` e inner join caste on caste.id=e.caste inner join subcaste on subcaste.id= e.subcaste where e.id='".$_GET['id']."'"); $select_query123 = $pdo->prepare("SELECT e.*,caste.name as caste_name,subcaste.name as subcaste_name FROM `profiles` e inner join caste on caste.id=e.caste inner join subcaste on subcaste.id= e.subcaste where e.id='".$_GET['id']."'"); $select_query123->execute(); $row = $select_query123->fetchAll(PDO::FETCH_ASSOC); $subcaste_id = $row[0]['subcaste']; ?> <form role="form" id="preferance_add_update_form" method="post" enctype="multipart/form-data"> <input type="hidden" name="id" value="<?php echo $row[0]['id'];?>"/> <div class="col-md-5" style="margin-top:45px;"> <div class="form-group form-inline"> <label for="selector1" class="control-label" style="padding-bottom: 8px;">பதிவு முறை : </label> <select name="regtype" id="regtype" class="form-control english" style="width:100%;font-size:27px; height:40px;"> <option value=""></option> <option <?php if($row[0]['regtype']=="D") echo "selected";?>>D</option> <option <?php if($row[0]['regtype']=="L") echo "selected";?>>L</option> <option <?php if($row[0]['regtype']=="I") echo "selected";?>>I</option> <option <?php if($row[0]['regtype']=="B") echo "selected";?>>B</option> <option <?php if($row[0]['regtype']=="M") echo "selected";?>>M</option> <option <?php if($row[0]['regtype']=="W") echo "selected";?>>W</option> <option <?php if($row[0]['regtype']=="DI") echo "selected";?>>DI</option> </select> </div> <div class="form-group form-inline"> <label for="selector1" class="control-label" style="width:50%;padding-bottom:8px;">ஜாதகர் : </label> <select name="gender" id="gender" class="form-control english" style="width:100%;"> <option value=""></option> <option <?php if($row[0]['gender']=="ஆண்") echo "selected";?>>ஆண்</option> <option <?php if($row[0]['gender']=="பெண்") echo "selected";?>>பெண்</option> </select> </div> <div class="form-group form-inline"> <label for="selector1" class="control-label pull-left" style="padding-bottom:8px;width:100%">பதிவு எண்: </label> <select name="regnop" id="regnop" class="form-control pull-left english" style="width:120px; font-size:27px; height:40px;"> <option value=""></option> <option <?php if($row[0]['regnop']=="A") echo "selected";?>>A</option> <option <?php if($row[0]['regnop']=="B") echo "selected";?>>B</option> <option <?php if($row[0]['regnop']=="C") echo "selected";?>>C</option> <option <?php if($row[0]['regnop']=="D") echo "selected";?>>D</option> <option <?php if($row[0]['regnop']=="E") echo "selected";?>>E</option> <option <?php if($row[0]['regnop']=="F") echo "selected";?>>F</option> </select> <input type="hidden" name="ids" id="ids" value="<?=$_GET['id']?>" class="form-control pull-left" style="width:73%; font-weight:bold; font-size:27px; height:40px;"/> <input type="text" name="regno" id="regno" value="<?php echo $row[0]['id'];?>" class="form-control pull-left" style="width:73%; font-weight:bold; font-size:27px; height:40px;"/> </div> <div class="clearfix"></div> <div class="form-group form-inline" style="margin-top:20px;"> <!-- <label for="selector1" class="control-label pull-left">புரோக்கர் பெயர் : </label> <select name="brokertype" id="brokertype" class="form-control pull-left english" style="width:60px; margin-left:21px; font-weight:bold; font-size:20px; height:40px;"> <option value=""></option> <option <?php //if($row[0]['brokertype']=="N") echo "selected";?>>N</option> <option <?php //if($row[0]['brokertype']=="I") echo "selected";?>>I</option> </select> <input type="text" name="brokername" id="brokername" value="<?php //echo $row[0]['brokername'];?>" charset="utf-8" class="form-control pull-left tamil" style="width:302px;height:40px;"/> --> <?php //echo $row['broker_ids']; if($row[0]['broker_ids']!='') { if( @strpos(",", $row[0]['broker_ids']) !== false ) { $bro_ids[0] = $row[0]['broker_ids']; } else { $bro_ids = explode(",",$row[0]['broker_ids']); } for($i=0;$i<$row[0]['brokercount'];$i++) { $select_broker= $pdo->prepare("select * from brokers where id='".$bro_ids[$i]."'"); $select_broker->execute(); $bro_row = $select_broker->fetchAll(PDO::FETCH_ASSOC); ?> <div class="optionBox"> <div class="block"> <label for="selector1" class="control-label pull-left" style="padding-bottom: 8px;width:100%">புரோக்கர் பெயர் : </label><br/> <select name="brokertype[]" id="brokertype" class="form-control pull-left english" style="clear:both;width:60px; margin-left:0px; font-weight:bold; font-size:20px; height:40px;"> <option value=""></option> <option <?php if($bro_row[0]['type']=="N") echo "selected";?>>N</option> <option <?php if($bro_row[0]['type']=="I") echo "selected";?>>I</option> </select> <input type="text" value="<?php echo $bro_row[0]['brokername'];?>" name="brokername[]" id="brokername" charset="utf-8" class="form-control pull-left tamil bn" style="width:85%; height:40px; word-wrap:break-word;"/> <input type="checkbox" name="is_phone[]" value="1" class="" <?php if($bro_row[0]['is_phone']=='1'){?>checked<?php } ?> style= "margin-left:25px;margin-top:15px;" /> <label for="selector1" class="control-label" style="width:100%;">போன் நம்பர்</label> <label for="selector1" class="control-label pull-left" style="margin-top:10px;">பதிவு எண்</label><input type="text" name="profid[]" class="pull-left" value="<?php echo $bro_row['profid'];?>" style="width:160px; height:40px; word-wrap:break-word; margin-right:15px;margin-top:10px;"/> </div> </div> <?php } } else { ?> <div class="optionBox"> <div class="block"> <label for="selector1" class="control-label pull-left" style="padding-bottom: 8px;width:100%">புரோக்கர் பெயர் : </label><br/> <select name="brokertype[]" id="brokertype" class="form-control pull-left english" style="clear:both;width:60px; margin-left:0px; font-weight:bold; font-size:20px; height:40px;"> <option value=""></option> <option>N</option> <option>I</option> </select> <input type="text" value="" name="brokername[]" id="brokername" charset="utf-8" class="form-control tamil" style="width:85%; height:40px; word-wrap:break-word;"/> <input type="checkbox" name="is_phone[]" value="1" class="pull-left" style= "margin-left:25px;margin-top:15px;"/> <label for="selector1" class="control-label" style="margin-top:10px;">போன் நம்பர்</label> <label for="selector1" class="control-label pull-left" style="margin-top:10px;">பதிவு எண்</label><input type="text" name="profid[]" class="pull-left" value="" style="width:160px; height:40px; word-wrap:break-word; margin-right:15px;margin-top:10px;"/> </div> </div> <?php } ?> <div class="block"> <span class="add"><i class="fa fa-plus-circle" style="color:green; font-size:30px; float:right; vertical-align:middle;padding:15px;"></i></span> </div> </div> <br> <div class="clearfix"></div> <div class="form-group form-inline" style="margin-top:20px;"> <label for="selector1" class="control-label pull-left " style="width:100%;padding-bottom:10px;">பெயர் : </label> <input type="text" name="binit" id="binit" maxlength="10" value="<?php echo $row[0]['binit'];?>" charset="utf-8" class="form-control pull-left english" style="width:20%;"/> <input type="text" name="bname" value="<?php echo $row[0]['bname'];?>" id="bname" autocomplete="off" translate="no" class="form-control pull-left tamil" style="width:80%;font-family:Avvaiyar;"/> </div> <div class="clearfix"></div> <br /> <div class="form-group form-inline" style="margin-top:10px;"> <label for="selector1" class="control-label pull-left" style="width:100%;padding-bottom:10px;">தம்பி பெயர் : </label> <input type="text" name="dinit" id="dinit" value="<?php echo $row[0]['dinit'];?>" maxlength="10" charset="utf-8" class="form-control pull-left english"style="width:20%;"/> <input type="text" name="dname" id="dname" value="<?php echo $row[0]['dname'];?>" class="form-control pull-left tamil" style="width:80%"/> </div> <br> <div class="clearfix"></div> <div class="form-group form-inline" style="margin-top:10px;"> <label for="selector1" class="control-label pull-left" style="width:100%">படிப்பு : </label> <!-- <select name="edu_dep" id="edu_dep" class="form-control pull-left english" style="width:105px;"> <option value=""></option> <option <?php //if($row[0]['edu_dep']=="BE") echo "selected";?>>BE</option> <option <?php //if($row[0]['edu_dep']=="ME") echo "selected";?>>ME</option> <option <?php //if($row[0]['edu_dep']=="MBA") echo "selected";?>>MBA</option> <option <?php //if($row[0]['edu_dep']=="BE") echo "selected";?>>BE</option> <option <?php //if($row[0]['edu_dep']=="BBA") echo "selected";?>>BBA</option> <option <?php //if($row[0]['edu_dep']=="DEEE") echo "selected";?>>DEEE</option> <option <?php //if($row[0]['edu_dep']=="BE,MBA") echo "selected";?>>BE,MBA</option> <option <?php //if($row[0]['edu_dep']=="M.TECH") echo "selected";?>>M.TECH</option> <option <?php// if($row[0]['edu_dep']=="M.COM") echo "selected";?>>M.COM</option> <option <?php //if($row[0]['edu_dep']=="CA") echo "selected";?>>CA</option> <option <?php// if($row[0]['edu_dep']=="M.PHIL") echo "selected";?>>M.PHIL</option> <option <?php //if($row[0]['edu_dep']=="BCA") echo "selected";?>>BCA</option> <option <?php //if($row[0]['edu_dep']=="B.TECH") echo "selected";?>>B.TECH</option> <option <?php //if($row[0]['edu_dep']=="DME") echo "selected";?>>DME</option> <option <?php //if($row[0]['edu_dep']=="B.COM(CA)") echo "selected";?>>B.COM(CA)</option> <option <?php //if($row[0]['edu_dep']=="B.TECH") echo "selected";?>>B.TECH</option> </select>--> <input type="text" name="edu" id="edu" value="<?php echo $row[0]['edu'];?>" charset="utf-8" class="form-control pull-left english" style="width:20%; margin-left:0px;"/> <select name="edu_cat" id="edu_cat" class="form-control pull-left english" style="width:80%;"> <option value=""></option> <option <?php if($row[0]['edu_cat']=="HSC") echo "selected";?>>HSC</option> <option <?php if($row[0]['edu_cat']=="UG") echo "selected";?>>UG</option> <option <?php if($row[0]['edu_cat']=="PG") echo "selected";?>>PG</option> <option <?php if($row[0]['edu_cat']=="Engineering") echo "selected";?>>Engineering</option> <option <?php if($row[0]['edu_cat']=="Medical") echo "selected";?>>Medical</option> <option <?php if($row[0]['edu_cat']=="Others") echo "selected";?>>Others</option> </select> </div> <br> <div class="clearfix"></div> <div class="form-group form-inline" style="margin-top:10px;"> <label for="selector1" class="control-label pull-left" style="width:100%;">வேலை : </label> <input type="text" name="job" id="job" value="<?php echo $row[0]['job'];?>" charset="utf-8" class="form-control pull-left tamil" style="width:20%;"/> <select name="job_cat" id="job_cat" class="form-control pull-left english" style="width:80%;"> <option value=""></option> <option <?php if($row[0]['job_cat']=="Govt Job") echo "selected";?>>Govt Job</option> <option <?php if($row[0]['job_cat']=="Private Job") echo "selected";?>>Private Job</option> <option <?php if($row[0]['job_cat']=="Doctor") echo "selected";?>>Doctor</option> <option <?php if($row[0]['job_cat']=="Business") echo "selected";?>>Business</option> <option <?php if($row[0]['job_cat']=="Software Professionals") echo "selected";?>>Software Professionals</option> <option <?php if($row[0]['job_cat']=="Others") echo "selected";?>>Others</option> </select> </div> <br> <div class="clearfix"></div> <div class="form-group form-inline" style="margin-top:10px;"id="job_place"> <label for="selector1" class="control-label pull-left">வேலை செய்யும் ஊர்: </label> <input type="text" name="job_place" id="job_place" value="<?php echo $row[0]['job_place'];?>" charset="utf-8" class="form-control pull-left tamil place_auto" style="width:100%;"/> </div> <br> <div class="clearfix"></div> <div class="form-group form-inline" style="margin-top:20px;"> <label for="selector1" class="control-label pull-left">வேலை செய்யும் நிறுவனம் : </label> <input type="text" name="job_company" value="<?php echo $row[0]['job_company'];?>" charset="utf-8" class="form-control pull-left english" style="width:100%;"/> </div> <br> <div class="clearfix"></div> <div class="form-group form-inline" style="margin-top:20px;"> <label for="income" class="control-label pull-left">மாத வருமானம் : </label> <div class="input-group pull-left" style="width:100%;"> <span class="input-group-addon " id="basic-addon">₹</span> <input type="number" name="income" class="form-control english" value="<?php echo $row[0]['monthly_income'];?>" placeholder="" style="width:100%;" min="0"> </div> </div> <br /> <div class="clearfix"></div> <div class="form-group form-inline" style="margin-top:20px;"> <label for="selector1" class="control-label">செல்போன் எண் : </label> <input type="text" name="cellno" id="cellno" value="<?php echo $row[0]['cellno'];?>" class="form-control" placeholder="" style="width:100%;"> </div> <div class="form-group form-inline" style="margin-top:10px;"> <label for="selector1" class="control-label">வாட்ஸஅப் எண் : </label> <input type="text" name="whatsapp_no" class="form-control" placeholder="" value="<?php echo $row[0]['whatsapp_no'];?>" style="width:100%;"> </div> <div class="form-group form-inline" style="margin-top:10px;"> <label for="selector1" class="control-label">மின்னஞ்சல் : </label> <input type="email" name="email" id="email" class="form-control" placeholder="" value="<?php echo $row[0]['email'];?>" style="width:100%;"> </div> <div class="form-group form-inline" style="margin-top:10px;"> <label for="selector1" class="control-label">பதிவு தேதி : </label> <?php $rarr =explode("-",$row[0]['regdate']); ?> <select name = "regdate1" id = "regdate1" style="height:40px;"> <option></option> <?php for($day = 1; $day <= 31; $day++){ ?> <option value = <?php echo $day;?> <?php if($rarr[0]==$day) echo "selected";?>> <?php echo $day;?></option> <?php } ?> </select> <select name = "regdate2" id = "regdate2" style="height:40px;"> <option></option> <?php for($month = 1; $month <= 12; $month++){ ?> <option value = <?php echo $month;?> <?php if($rarr[1]==$month) echo "selected";?>> <?php echo $month;?></option> <?php } ?> </select> <select name = "regdate3" id = "regdate3" style="height:40px;"> <option></option> <?php $y = date("Y", strtotime("+8 HOURS")); for($year = 1950; $year <= 2029; $year++){ ?> <option value = <?php echo $year;?> <?php if($rarr[2]==$year) echo "selected";?>> <?php echo $year;?></option> <?php } ?> </select> </div> <!-- <div class="form-group form-inline" style="margin-top:10px;"> <label for="selector1" class="control-label">முகவரி : </label> <textarea name="addr1" rows="8" columns="8" id="selector1" class="form-control tamil" style="width:425px;height:135px; margin-left:28px;"> </textarea> </div>--> <div class="form-group form-inline" style="margin-top:10px;"> <label for="selector1" class="control-label">பிறந்த தேதி : </label> <?php $darr =explode("-",$row[0]['dob']); ?> <select name = "dob1" id = "dob1" style="height:40px;"> <option></option> <?php for($day = 1; $day <= 31; $day++){ ?> <option value = <?php echo $day;?> <?php if($darr[0]==$day) echo "selected";?>> <?php echo $day;?></option> <?php } ?> </select> <select name = "dob2" id = "dob2" style="height:40px;"> <option></option> <?php for($month = 1; $month <= 12; $month++){ ?> <option value = <?php echo $month;?> <?php if($darr[1]==$month) echo "selected";?>> <?php echo $month;?></option> <?php } ?> </select> <select name = "dob3" id = "dob3" style="height:40px;"> <option></option> <?php $y = date("Y", strtotime("+8 HOURS")); for($year = 1950; $year <= 2029; $year++){ ?> <option value = <?php echo $year;?> <?php if($darr[2]==$year) echo "selected";?>> <?php echo $year;?></option> <?php } ?> </select> </div> <div class="form-group form-inline" style="margin-top:10px;"> <label for="selector1" class="control-label pull-left">கிழமை : </label> <?php //$day = utf8_encode($row[0]['day']); echo $day;?> <select name="day" id="day" class="form-control pull-left english" style="margin-left:15px; width:75%;margin-bottom: 10px; "> <option value=""></option> <option value="1" <?php if(trim($row[0]['day'])=="1") echo "selected";?>>திங்கள் </option> <option value="2" <?php if(trim($row[0]['day'])==="2") echo "selected";?>>செவ்வாய் </option> <option value="3" <?php if(trim($row[0]['day'])=="3") echo "selected";?>>புதன் </option> <option value="4" <?php if(trim($row[0]['day'])=="4") echo "selected";?>>வியாழன் </option> <option value="5" <?php if(trim($row[0]['day'])=="5") echo "selected";?>>வெள்ளி </option> <option value="6" <?php if(trim($row[0]['day'])=="6") echo "selected";?>>சனி</option> <option value="7" <?php if(trim($row[0]['day'])=="7") echo "selected";?>>ஞாயிறு </option> </select> <label for="selector1" class="control-label pull-left" style="margin-left:5px;"> நேரம் : </label> <input type="text" name="time" value="<?php echo $row[0]['time'];?>" id="time" charset="utf-8" class="form-control pull-left english" style="width:85px; margin-left:9px; height:40px;"/> <?php /* echo '<select name="time" id="time" class="form-control pull-left" style="width:100px;margin-left:15px;">'; while($tNow <= $tEnd){ echo '<option value="'.date("H:i",$tNow).'"'. if($row[0]['time']==date("H:i",$tNow)) echo "selected";.'">'.date("H:i",$tNow).'</option>'; $tNow = strtotime('+1 minutes',$tNow); } echo '</select>'; */ ?> <select name="meridian" id="meridian" class="form-control english pull-left" style="width:100px;" > <option value=""></option> <option <?php if($row[0]['meridian']=="AM") echo "selected";?>>AM </option> <option <?php if($row[0]['meridian']=="PM") echo "selected";?>>PM </option> </select> <!-- <div class="input-group bootstrap-timepicker timepicker"> <input id="timepicker1" name="time" type="text" class="form-control input-small"> <span class="input-group-addon"><i class="glyphicon glyphicon-time"></i></span> </div> <?php /* $start = "00:00"; //you can write here 00:00:00 but not need to it $end = "23:30"; $tStart = strtotime($start); <!-- $tEnd = strtotime($end); --> $tNow = $tStart;*/ ?> <!--<select name="time" id="time" class="form-control pull-left" style="width:100px;margin-left:5px;">--> <?php //while($tNow <= $tEnd){ ?> <option value=<?php //echo date("H:i",$tNow);?> <?php //if($row[0]['time']==date("H:i",$tNow)) echo "selected";?>><?php //echo date("H:i",$tNow)?></option> <?php //$tNow = strtotime('+1 minutes',$tNow); //} ?> <!--</select>--> </div> <div class="clearfix"></div> <br /> <div class="form-group form-inline" style="margin-top:10px;"> <label for="selector1" class="control-label pull-left" style="margin-left:0;">தமிழ் வருடம் : </label> <!-- <input type="text" name="tyear" id="tyear" class="form-control tamil" placeholder="" value="<?php //echo $row[0]['tyear'];?>" style="width:415px;height:40px;" autocomplete="off">--> <select name="tyear" id="tyear" class="form-control pull-left english" style="width: 65%;margin-left: 5px;"> <option value=""></option> <option value="1" <?php if($row[0]['tyear']=="1") echo "selected";?>>பிரபவ</option> <option value="2" <?php if($row[0]['tyear']=="2") echo "selected";?>>விபவ</option> <option value="3" <?php if($row[0]['tyear']=="3") echo "selected";?>> சுக்ல</option> <option value="4" <?php if($row[0]['tyear']=="4") echo "selected";?>> பிரமோதூத</option> <option value="5" <?php if($row[0]['tyear']=="5") echo "selected";?>> பிரசோற்பத்தி</option> <option value="6" <?php if($row[0]['tyear']=="6") echo "selected";?>> ஆங்கீரச </option> <option value="7" <?php if($row[0]['tyear']=="7") echo "selected";?>> ஸ்ரீமுக </option> <option value="8" <?php if($row[0]['tyear']=="8") echo "selected";?>> பவ</option> <option value="9" <?php if($row[0]['tyear']=="9") echo "selected";?>> யுவ </option> <option value="10" <?php if($row[0]['tyear']=="10") echo "selected";?>> தாது</option> <option value="11" <?php if($row[0]['tyear']=="11") echo "selected";?>>ஈஸ்வர</option> <option value="12" <?php if($row[0]['tyear']=="12") echo "selected";?>>வெகுதானிய</option> <option value="13" <?php if($row[0]['tyear']=="13") echo "selected";?>> பிரமாதி </option> <option value="14" <?php if($row[0]['tyear']=="14") echo "selected";?>>விக்கிரம</option> <option value="15" <?php if($row[0]['tyear']=="15") echo "selected";?>>விஷு </option> <option value="16" <?php if($row[0]['tyear']=="16") echo "selected";?>>சித்திரபானு</option> <option value="17" <?php if($row[0]['tyear']=="17") echo "selected";?>>சுபானு</option> <option value="18" <?php if($row[0]['tyear']=="18") echo "selected";?>> தாரண</option> <option value="19" <?php if($row[0]['tyear']=="19") echo "selected";?>> பார்த்திப</option> <option value="20" <?php if($row[0]['tyear']=="20") echo "selected";?>> விய </option> <option value="21" <?php if($row[0]['tyear']=="21") echo "selected";?>> சர்வசித்து</option> <option value="22" <?php if($row[0]['tyear']=="22") echo "selected";?>> சர்வதாரி</option> <option value="23" <?php if($row[0]['tyear']=="23") echo "selected";?>> விரோதி </option> <option value="24" <?php if($row[0]['tyear']=="24") echo "selected";?>>விக்ருதி</option> <option value="25" <?php if($row[0]['tyear']=="25") echo "selected";?>> கர</option> <option value="26" <?php if($row[0]['tyear']=="26") echo "selected";?>> நந்தன</option> <option value="27" <?php if($row[0]['tyear']=="27") echo "selected";?>>விஜய </option> <option value="28" <?php if($row[0]['tyear']=="28") echo "selected";?>> ஜய</option> <option value="29" <?php if($row[0]['tyear']=="29") echo "selected";?>>மன்மத </option> <option value="30" <?php if($row[0]['tyear']=="30") echo "selected";?>> துன்முகி </option> <option value="31" <?php if($row[0]['tyear']=="31") echo "selected";?>> ஹேவிளம்பி </option> <option value="32" <?php if($row[0]['tyear']=="32") echo "selected";?>> விளம்பி </option> <option value="33" <?php if($row[0]['tyear']=="33") echo "selected";?>> விகாரி </option> <option value="34" <?php if($row[0]['tyear']=="34") echo "selected";?>> சார்வரி </option> <option value="35" <?php if($row[0]['tyear']=="35") echo "selected";?>> பிலவ </option> <option value="36" <?php if($row[0]['tyear']=="36") echo "selected";?>> சுபகிருது </option> <option value="37" <?php if($row[0]['tyear']=="37") echo "selected";?>> சோபகிருது </option> <option value="38" <?php if($row[0]['tyear']=="38") echo "selected";?>>குரோதி</option> <option value="39" <?php if($row[0]['tyear']=="39") echo "selected";?>> விசுவாசுவ</option> <option value="40" <?php if($row[0]['tyear']=="40") echo "selected";?>>பரபாவ</option> <option value="41" <?php if($row[0]['tyear']=="41") echo "selected";?>> பிலவங்க </option> <option value="42" <?php if($row[0]['tyear']=="42") echo "selected";?>> கீலக </option> <option value="43" <?php if($row[0]['tyear']=="43") echo "selected";?>> சௌமிய </option> <option value="44" <?php if($row[0]['tyear']=="44") echo "selected";?>> சாதாரண </option> <option value="45" <?php if($row[0]['tyear']=="45") echo "selected";?>> விரோதகிருது </option> <option value="46" <?php if($row[0]['tyear']=="46") echo "selected";?>> பரிதாபி </option> <option value="47" <?php if($row[0]['tyear']=="47") echo "selected";?>> பிரமாதீச </option> <option value="48" <?php if($row[0]['tyear']=="48") echo "selected";?>> ஆனந்த </option> <option value="49" <?php if($row[0]['tyear']=="49") echo "selected";?>> ராட்சச </option> <option value="50" <?php if($row[0]['tyear']=="50") echo "selected";?>>நள </option> <option value="51" <?php if($row[0]['tyear']=="51") echo "selected";?>> பிங்கள </option> <option value="52" <?php if($row[0]['tyear']=="52") echo "selected";?>> காளயுக்தி </option> <option value="53" <?php if($row[0]['tyear']=="53") echo "selected";?>> சித்தார்த்தி </option> <option value="54" <?php if($row[0]['tyear']=="54") echo "selected";?>>ரௌத்திரி</option> <option value="55" <?php if($row[0]['tyear']=="55") echo "selected";?>> துன்மதி </option> <option value="56" <?php if($row[0]['tyear']=="56") echo "selected";?>> துந்துபி </option> <option value="57" <?php if($row[0]['tyear']=="57") echo "selected";?>>ருத்ரோத்காரி</option> <option value="58" <?php if($row[0]['tyear']=="58") echo "selected";?>>ரக்தாட்சி</option> <option value="59" <?php if($row[0]['tyear']=="59") echo "selected";?>> குரோதன </option> <option value="60" <?php if($row[0]['tyear']=="60") echo "selected";?>> அட்சய </option> </select> </div> <div class="clearfix"></div> <div class="form-group form-inline" style="margin-top:10px;"> <label for="selector1" class="control-label pull-left">மாதம் : </label> <select name="month" id="month" class="form-control pull-left english" style="width: 47%;margin-left: 5px;"> <option value=""></option> <option value="1" <?php if($row[0]['month']=="1") echo "selected";?>>சித்திரை</option> <option value="2" <?php if($row[0]['month']=="2") echo "selected";?>>வைகாசி</option> <option value="3" <?php if($row[0]['month']=="3") echo "selected";?>>ஆனி</option> <option value="4" <?php if($row[0]['month']=="4") echo "selected";?>>ஆடி</option> <option value="5" <?php if($row[0]['month']=="5") echo "selected";?>>ஆவணி </option> <option value="6" <?php if($row[0]['month']=="6") echo "selected";?>>புரட்டாசி</option> <option value="7" <?php if($row[0]['month']=="7") echo "selected";?>>ஐப்பசி</option> <option value="8" <?php if($row[0]['month']=="8") echo "selected";?>>கார்த்திகை</option> <option value="9" <?php if($row[0]['month']=="9") echo "selected";?>>மார்கழி</option> <option value="10" <?php if($row[0]['month']=="10") echo "selected";?>>தை</option> <option value="11" <?php if($row[0]['month']=="11") echo "selected";?>>மாசி</option> <option value="12" <?php if($row[0]['month']=="12") echo "selected";?>>பங்குனி</option> </select> <label for="selector1" class="control-label pull-left" style="margin-left:5px;">தேதி : </label> <select id="tdate" name="tdate" style="width:85px;" class="form-control pull-left english"> <option value=""></option> <?php for($tday = 1; $tday <= 31; $tday++){ ?> <option value = <?php echo $tday;?> <?php if($row[0]['tdate']==$tday) echo "selected";?>> <?php echo $tday;?></option> <?php } ?> </select> <!--<select name="tyear" id="selector1" class="form-control pull-left english" style="width:170px;"> <option value=""></option> <option>பிரபவ</option> <option>விபவ</option> <option> சுக்ல</option> <option> பிரமோதூத</option> <option> பிரசோற்பத்தி</option> <option> ஆங்கீரச </option> <option> ஸ்ரீமுக </option> <option> பவ</option> <option> யுவ </option> <option> தாது</option> <option>ஈஸ்வர</option> <option>வெகுதானிய</option> <option> பிரமாதி </option> <option>விக்கிரம</option> <option>விஷு </option> <option>சித்திரபானு</option> <option>சுபானு</option> <option> தாரண</option> <option> பார்த்திப</option> <option> விய </option> <option> சர்வசித்து</option> <option> சர்வதாரி</option> <option> விரோதி </option> <option>விக்ருதி</option> <option> கர</option> <option> நந்தன</option> <option>விஜய </option> <option> ஜய</option> <option>மன்மத </option> <option> துன்முகி </option> <option> ஹேவிளம்பி </option> <option> விளம்பி </option> <option> விகாரி </option> <option> சார்வரி </option> <option> பிலவ </option> <option> சுபகிருது </option> <option> சோபகிருது </option> <option>குரோதி</option> <option> விசுவாசுவ</option> <option>பரபாவ</option> <option> பிலவங்க </option> <option> கீலக </option> <option> சௌமிய </option> <option> சாதாரண </option> <option> விரோதகிருது </option> <option> பரிதாபி </option> <option> பிரமாதீச </option> <option> ஆனந்த </option> <option> ராட்சச </option> <option>நள </option> <option> பிங்கள </option> <option> காளயுக்தி </option> <option> சித்தார்த்தி </option> <option>ரௌத்திரி</option> <option> துன்மதி </option> <option> துந்துபி </option> <option>ருத்ரோத்காரி</option> <option>ரக்தாட்சி</option> <option> குரோதன </option> <option> அட்சய </option> </select>--> </div> <div class="clearfix"></div> <br /> <div class="form-group form-inline" style="margin-top:10px;"> <label for="selector1" class="control-label pull-left"> உயரம் : </label> <div class = "input-group pull-left" style="width:150px;"> <input name="height" id="height" value="<?php echo $row[0]['height'];?>" type="text" class = "form-control pull-left" style="width:120px;"> <span class = "input-group-addon">இன்ச்</span> </div> <select name="height_cat" id="height_cat" class="form-control pull-left english" style="width:100%; margin-top:5px; margin-left:5px;"> <option value=""></option> <option value="1" <?php if($row[0]['height_cat']=="1") echo "selected";?>>உயரம் குறைவானவர்</option> <option value="2" <?php if($row[0]['height_cat']=="2") echo "selected";?>>சரியான உயரம்</option> <option value="3" <?php if($row[0]['height_cat']=="3") echo "selected";?>>மிகவும் உயரமானவர்</option> </select> </div> <div class="clearfix"></div> <br /> <div class="form-group form-inline" style="margin-top:10px;"> <label for="selector1" class="control-label pull-left" style="margin-left:0px;">நிறம் : </label> <select name="color" id="color" class="form-control pull-left english" style="width:100%; margin-top:5px;"> <option value=""></option> <option value="1" <?php if($row[0]['color']=="1") echo "selected";?>>மாநிறம் </option> <option value="2" <?php if($row[0]['color']=="2") echo "selected";?>>நிறம் குறைவானவர் </option> <option value="3" <?php if($row[0]['color']=="3") echo "selected";?>>சிகப்பு </option> </select> </div> <div class="clearfix"></div> <br /> <div class="form-group form-inline" style="margin-top:10px; margin-bottom:10px;"> <label for="selector1" class="control-label pull-left"> எடை : </label> <div class = "input-group pull-left" style="margin-left:30px;"> <input type = "text" name="weight" class = "form-control" value="<?php echo $row[0]['weight'];?>" style="width:120px;"> <span class = "input-group-addon">கிலோ </span> </div> <select name="weight_cat" id="weight_cat" class="form-control pull-left english" style="width:100%; margin-top:5px; margin-left:5px;"> <option value=""></option> <option value="1" <?php if($row[0]['weight_cat']=="1") echo "selected";?>>ஒல்லியானவர்</option> <option value="2" <?php if($row[0]['weight_cat']=="2") echo "selected";?>>சரியான எடை உடையவர்</option> <option value="3" <?php if($row[0]['weight_cat']=="3") echo "selected";?>>குண்டானவர்</option> </select> </div> <br /> <div class="clearfix"></div> <div class="form-group form-inline" style="margin-top:10px;"> <?php if($row[0]['marriage']=='first') { ?> <label class="radio-inline"> <input type="radio" name="marriage" id="mar1" value="first" style="width:20px; height:20px;" checked=""> முதல் மணம் </label> <label class="radio-inline"> <input type="radio" name="marriage" id="mar2" value="non-first" style="width:20px; height:20px;"> மறு மணம் </label> <?php } elseif($row[0]['marriage']=='non-first'){ ?> <label class="radio-inline"> <input type="radio" name="marriage" id="mar1" value="first" style="width:20px; height:20px;" > முதல் மணம் </label> <label class="radio-inline"> <input type="radio" name="marriage" id="mar2" value="non-first" style="width:20px; height:20px;" checked=""> மறு மணம் </label> <?php } else{ ?> <label class="radio-inline"> <input type="radio" name="marriage" id="mar1" value="first" style="width:20px; height:20px;" checked=""> முதல் மணம் </label> <label class="radio-inline"> <input type="radio" name="marriage" id="mar2" value="non-first" style="width:20px; height:20px;" > மறு மணம் </label> <?php } ?> </div> <div class="childdiv" <?php if($row[0]['marriage']=="first"){?>style="display:none;"<?php }?>> <div class="form-group form-inline" style="margin-top:10px;"> <label class="radio-inline"> <input type="radio" name="child" id="Radios1" value="yes" <?php if($row[0]['child']=="yes") echo "checked";?>style="width:20px; height:20px;"> குழந்தை உள்ளவர் </label> <label class="radio-inline"> <input type="radio" name="child" id="Radios1" value="no" <?php if($row[0]['child']=="no") echo "checked";?>style="width:20px; height:20px;"> குழந்தை இல்லாதவர் </label> </div> <div class="form-group form-inline childdiv" <?php if($row[0]['marriage']=="first"){?>style="margin-top:10px;display:none;"<?php }?>> <label class="radio-inline"> <input type="radio" name="mar2status" id="Radios1" value="divorcy" <?php if($row[0]['marstatus2']=="divorcy") echo "checked";?>style="width:20px; height:20px;"> விவாகரத்தானவர் </label> <label class="radio-inline"> <input type="radio" name="mar2status" id="Radios1" value="widow" <?php if($row[0]['marstatus2']=="widow") echo "checked";?> style="width:20px; height:20px;"> விதவை </label> </div> </div> <div class="clearfix"></div> <br /> <div class="form-group form-inline" style="margin-top:10px;"> <label for="selector1" class="control-label pull-left">உடல் குறைபாடு உள்ளவரா? : </label> <select name="physical_hand" id="selector1" class="form-control pull-left english"> <option value=""></option> <option value="1" <?php if($row[0]['physical_hand']=="1") echo "selected";?>>ஆம்</option> <option value="2" <?php if($row[0]['physical_hand']=="2") echo "selected";?>>இல்லை</option> </select> </div> <div class="clearfix"></div> <div class="form-group form-inline" style="margin-top:10px;"> <label for="selector1" class="control-label pull-left">போட்டோ உள்ளதா? : </label> <select name="photo_ex" id="selector1" class="form-control pull-left english" style="margin-left:71px;" > <option value=""></option> <option value="1" <?php if($row[0]['photo_ex']=="1") echo "selected";?>>ஆம்</option> <option value="2" <?php if($row[0]['photo_ex']=="2") echo "selected";?>>இல்லை ்</option> </select> </div> <div class="clearfix"></div> <div class="form-group form-inline" style="margin-top:10px;"> <input id="father_abs" class="control-label" type="checkbox" name="father_abs" value="yes" style="-webkit-appearance: radio; -moz-appearance: radio;-ms-appearance: radio;margin-right:20px;" <?php if($row[0]['father_abs']=="yes") echo "checked";?>><label for="selector1" class="control-label" > அப்பா இல்லாதவர்</label> </div> <div class="clearfix"></div> <div class="form-group form-inline" style="margin-top:10px;"> <input id="mother_abs" class="control-label" type="checkbox" name="mother_abs" value="yes" style="-webkit-appearance: radio; -moz-appearance: radio;-ms-appearance: radio;margin-right:20px;" <?php if($row[0]['mother_abs']=="yes") echo "checked";?>><label for="selector1" class="control-label"> அம்மா இல்லாதவர்</label> </div> <div class="clearfix"></div> <div class="form-group form-inline" style="margin-top:10px;"> <input id="bro_abs" class="control-label" type="checkbox" name="bro_abs" value="yes" style="-webkit-appearance: radio; -moz-appearance: radio;-ms-appearance: radio;margin-right:20px;" <?php if($row[0]['bro_abs']=="yes") echo "checked";?>><label for="selector1" class="control-label"> அண்ணண் இல்லாதவர்</label> </div> <div class="clearfix"></div> <div class="form-group form-inline" style="margin-top:10px;"> <label for="selector1" class="control-label pull-left">பிசினஸ் சம்மதம்? : </label> <select name="business_opt" id="selector1" class="form-control pull-left english" style="margin-left:88px;"> <option value=""></option> <option value="1" <?php if($row[0]['business_opt']=="1") echo "selected";?>>சம்மதம் </option> <option value="2" <?php if($row[0]['business_opt']=="2") echo "selected";?>>வேண்டாம் </option> </select> </div> <div class="clearfix"></div> <div class="form-group form-inline" style="margin-top:10px;"> <label for="selector1" class="control-label pull-left">வெளிநாடு சம்மதம்? : </label> <select name="foreign_opt" id="selector1" class="form-control pull-left english" style="margin-left:68px;"> <option value=""></option> <option value="1" <?php if($row[0]['foreign_opt']=="1") echo "selected";?>>சம்மதம் </option> <option value="2" <?php if($row[0]['foreign_opt']=="2") echo "selected";?>>வேண்டாம் </option> </select> </div> <div class="clearfix"></div> <br /> <div class="form-group form-inline" style="margin-top:10px;"> <label for="selector1" class="control-label pull-left">இருப்பிடம் : </label> <input type="text" name="native_place" id="native_place" value="<?php echo $row[0]['native_place'];?>" style="width:100%; margin-top:5px;" charset="utf-8" class="form-control pull-left tamil place_auto"/> </div> <div class="clearfix"></div> <br> <div class="form-group form-inline" style="margin-top:10px;"> <label for="selector1" class="control-label pull-left">பிறந்த ஊர் : </label> <input type="text" name="birth_place" id="birth_place" value="<?php echo $row[0]['birth_place'];?>" style="width:100%; margin-top:5px;" charset="utf-8" class="form-control pull-left tamil place_auto"/> </div> <div class="clearfix"></div> <br> <div class="form-group form-inline" style="margin-top:10px;"> <label for="selector1" class="control-label pull-left">அப்பாவின் சொந்த ஊர் : </label> <input type="text" name="father_place" value="<?php echo $row[0]['father_place'];?>" charset="utf-8" style="width:100%; margin-top:5px;" class="form-control pull-left tamil place_auto"/> </div> <div class="clearfix"></div> <br> <div class="form-group form-inline"style="margin-top:10px;"> <label for="selector1" class="control-label pull-left">அம்மாவின் சொந்த ஊர் : </label> <input type="text" name="mother_place" value="<?php echo $row[0]['mother_place'];?>" charset="utf-8" style="width:100%; margin-top:5px;" class="form-control pull-left tamil place_auto"/> </div> <div class="clearfix"></div> <br> <div class="form-group form-inline" style="margin-top:10px;"> <label for="selector1" class="control-label pull-left">அப்பா பெயர் : </label> <input type="text" name="father_name" id="father_name" value="<?php echo $row[0]['father_name'];?>" charset="utf-8" style="width:100%; margin-top:5px;" class="form-control pull-left tamil"/> </div> <div class="clearfix"></div> <br> <div class="form-group form-inline" style="margin-top:10px;"> <label for="selector1" class="control-label pull-left">அப்பா டம்மி பெயர் : </label> <input type="text" name="father_dname" id="father_dname" value="<?php echo $row[0]['father_dname'];?>" charset="utf-8" style="width:100%; margin-top:5px;" class="form-control pull-left tamil"/> </div> <div class="clearfix"></div> <br> <div class="form-group form-inline" style="margin-top:10px;"> <label for="selector1" class="control-label pull-left">அப்பா வேலை : </label> <input type="text" name="father_job" value="<?php echo $row[0]['father_job'];?>" charset="utf-8" style="width:100%; margin-top:5px;" class="form-control pull-left tamil"/> </div> <div class="clearfix"></div> <br> <div class="form-group form-inline" style="margin-top:10px;"> <label for="selector1" class="control-label pull-left">அம்மா பெயர் : </label> <input type="text" name="mother_name" id="mother_name" value="<?php echo $row[0]['mother_name'];?>" charset="utf-8" style="width:100%; margin-top:5px;" class="form-control pull-left tamil"/> </div> <div class="clearfix"></div> <br> <div class="form-group form-inline" style="margin-top:10px;"> <label for="selector1" class="control-label pull-left">அம்மா டம்மி பெயர் : </label> <input type="text" name="mother_dname" id="mother_dname" value="<?php echo $row[0]['mother_dname'];?>" charset="utf-8" style="width:100%; margin-top:5px;" class="form-control pull-left tamil"/> </div> <div class="clearfix"></div> <br> <div class="form-group form-inline" style="margin-top:10px;"> <label for="selector1" class="control-label pull-left">அம்மா வேலை : </label> <input type="text" name="mother_job" value="<?php echo $row[0]['mother_job'];?>" charset="utf-8" style="width:100%; margin-top:5px;" class="form-control pull-left english"/> </div> <div class="clearfix"></div> </div> <div class="col-md-5" style="margin-top:20px;"> <br> <div class="form-group form-inline" style="margin-top:10px;"> <label for="selector1" class="control-label pull-left">போட்டோ : </label> <?php if($row[0]['photo']!=""){?> <img src='./img-upload/<?php echo $row[0]['photo'];?>' id="photosel"/> <input type="hidden" name="f" value="<?php echo $row[0]['photo'];?>"/> <a href="clear_rasi.php?photo=<?php echo $_GET['id'] ?>">Remove</a> <!-- <input type="button" id="imgrem" class="form-control" onclick="removeimg();" value="Remove"/>--> <?php } else {echo "போட்டோ பதிவேற்றவில்லை";}?> <div id="uploaded_image" ></div> <input type="file" name="image" id="upload_image" onchange="readURL(this);" /> </div> <div class="clearfix"></div> <div class="form-group form-inline" style="margin-top:10px;"> <label for="selector1" class="control-label pull-left">குடும்ப வசதி வாய்ப்பு :</label> <select name="wealth_class" id="wealth_class" class="form-control pull-left english" style="margin-left:3px; width:100%;"> <option value=""></option> <option value="1" <?php if($row[0]['wealth_class']=="1") echo "selected";?>>சாதாரண வசதி</option> <option value="2" <?php if($row[0]['wealth_class']=="2") echo "selected";?>>நடுத்தர வசதி</option> <option value="3" <?php if($row[0]['wealth_class']=="3") echo "selected";?>>உயர் வசதி(வி.ஐ.பி)</option> </select> </div> <div class="clearfix"></div> <br /> <div class="form-group form-inline" style=""> <label for="selector1" class="control-label pull-left">குடும்ப அடையாளம் : </label><br /> <input type="text" name="family_idty" value="<?php echo $row[0]['family_idty'];?>" charset="utf-8" style="width:100%;" class="form-control pull-left tamil"/> </div> <div class="clearfix"></div> <br /> <div class="form-group form-inline" style="margin-top:10px;"> <label for="selector1" class="control-label pull-left">எத்தனையாவது பிறப்பு : </label> <select name="no_birth" id="selector1" style="width:100%;" class="form-control pull-left english"> <option value=""></option> <option value="1" <?php if($row[0]['no_birth']=="1") echo "selected";?>>ஜாதகர் மட்டும்</option> <option value="2" <?php if($row[0]['no_birth']=="2") echo "selected";?>>முதலாவது </option> <option value="3" <?php if($row[0]['no_birth']=="3") echo "selected";?>>இரண்டாவது </option> <option value="4" <?php if($row[0]['no_birth']=="4") echo "selected";?>>மூன்றாவது </option> <option value="5" <?php if($row[0]['no_birth']=="5") echo "selected";?>>நான்காவது </option> <option value="6" <?php if($row[0]['no_birth']=="6") echo "selected";?>>ஐந்தாவது </option> <option value="7" <?php if($row[0]['no_birth']=="7") echo "selected";?>>ஆறாவது</option> <option value="8" <?php if($row[0]['no_birth']=="8") echo "selected";?>>ஏழாவது </option> <option value="9" <?php if($row[0]['no_birth']=="9") echo "selected";?>>எட்டாவது </option> </select> </div> <div class="clearfix"></div> <br> <div class="form-group form-inline" style="margin-top:10px;"> <table class="table"> <thead> <tr> <td scope="row" style="font-weight:bold;">உடன் பிறப்பு</td> <td scope="row" style="font-weight:bold;"> அண்ணன் </td> <td scope="row" style="font-weight:bold;">அக்கா </td> <td scope="row" style="font-weight:bold;">தங்கை</td> <td scope="row" style="font-weight:bold;">தம்பி</td> </tr> </thead> <tbody> <tr> <td scope="row" style="font-weight:bold;">எண்ணிக்கை </th> <td> <input type = "text" name="no_bro" value="<?php echo $row[0]['no_bro'];?>" class = "form-control" style="width:80px;" maxlength="2"> </td> <td> <input type = "text" name="no_sis" value="<?php echo $row[0]['no_sis'];?>" class = "form-control" style="width:80px;" maxlength="2"> </td> <td><input type = "text" name="no_sisy" value="<?php echo $row[0]['no_sisy'];?>" class = "form-control" style="width:80px;" maxlength="2"></td> <td> <input type = "text" name="no_broy" value="<?php echo $row[0]['no_broy'];?>" class = "form-control number" style="width:80px;" maxlength="2"></td> </tr> <tr> <td scope="row" style="font-weight:bold;">மணமானவர்கள் </th> <td> <input type = "text" name="no_bro_mar" value="<?php echo $row[0]['no_bro_mar'];?>" class = "form-control" style="width:80px;" maxlength="2"> </td> <td> <input type = "text" name="no_sis_mar" value="<?php echo $row[0]['no_sis_mar'];?>" class = "form-control" style="width:80px;" maxlength="2"> </td> <td><input type = "text" name="no_sisy_mar" value="<?php echo $row[0]['no_sisy_mar'];?>" class = "form-control" style="width:80px;" maxlength="2"></td> <td> <input type = "text" name="no_broy_mar" value="<?php echo $row[0]['no_broy_mar'];?>" class = "form-control number" style="width:80px;" maxlength="2"></td> </tr> <tr> <td colspan="5"> <b>உடன் பிறப்பு மொத்த எண்ணிக்கை : </b><div class = "input-group"> <input type = "text" name="with_birth" id="with_birth" value="<?php echo $row[0]['with_birth'];?>" style="width:150px;" class = "form-control"> <span class = "input-group-addon">பேர் </span> </div> </td> </tr> <tr> <td colspan="5"> <b>மணமானவர்கள் மொத்த எண்ணிக்கை : </b><div class = "input-group"> <input type = "text" name="mar_nos" style="width:118px;" value="<?php echo $row[0]['mar_nos'];?>" class = "form-control"> <span class = "input-group-addon">பேர் </span> </div> </td> </tr> </tbody> </table> </div> <div class="clearfix"></div> <br> <div class="form-group form-inline" style="margin-top:10px;"> <label for="selector1" class="control-label pull-left">சொத்து இருப்பு : </label> <textarea name="wealth_det" rows="4" columns="8" id="selector1" class="form-control tamil pull-left" style="width:100%;"><?php echo trim($row[0]['wealth_det']);?></textarea> </div> <div class="clearfix"></div> <br> <div class="form-group form-inline" style="margin-top:10px;"> <label for="selector1" class="control-label pull-left">சீர் செய்ய விரும்புவது : </label> <input type="text" name="tidy" id="tidy" value="<?php echo $row[0]['tidy'];?>" charset="utf-8" class="form-control pull-left tamil" style="width:100%;"/> </div> <div class="clearfix"></div> <br /> <div class="form-group form-inline" style=""> <!-- <div class="pull-right" style="margin-bottom:10px;"> <a class="btn btn-primary" data-toggle="modal" data-target="#add_caste"><i class="fa fa-plus-circle"style="vertical-align:middle; margin-right:5px;"></i>புதிதாக சேர் </a> </div>--> <label for="casteid" class="control-label pull-left">ஜாதி : </label> <input type="hidden" name="casteid" id="casteid" value="" charset="utf-8" class="form-control pull-left tamil"/> <select name="caste" id="caste" style="width:100%;height:50px;" class="form-control pull-left english"> <option value="">Select Caste Name</option> <?php $statement = $pdo->prepare("SELECT * FROM `caste`"); $statement->execute(); $result = $statement->fetchAll(PDO::FETCH_ASSOC); foreach ($result as $data) { ?> <option value="<?=$data['id']?>" <?php if($row[0]['caste']==$data['id']){echo "selected";}?>><?=$data['name']?></option> <?php } ?> </select> </div> <div class="clearfix"></div> <br /> <div class="form-group form-inline" style="margin-top:10px;"> <label for="selector1" class="control-label pull-left">உட்பிரிவு : </label> <input type="hidden" name="subcasteid" id="subcasteid" value="" charset="utf-8" class="form-control pull-left tamil" value=""/> <?php ?> <select name="subcaste" id="subcaste" style="width:450px;height:50px;" class="form-control pull-left english"> <option value="">Select First Caste</option> </select> </div> <div class="clearfix"></div> <br /> <div class="form-group form-inline" style="margin-top:10px;"> <label for="selector1" class="control-label pull-left">கோத்திரம் : </label> <input type="text" style="width:100%;" name="ancestry" id="ancestry" value="<?php echo $row[0]['ancestry'];?>" charset="utf-8" class="form-control pull-left tamil"/> </div> <div class="clearfix"></div> <br /> <div class="form-group form-inline" style="margin-top:10px;"> <label for="selector1" class="control-label pull-left">குல தெய்வம் : </label> <input type="text" style="width:100%;" name="family_god" id="family_god" value="<?php echo $row[0]['family_god'];?>" charset="utf-8" class="form-control pull-left tamil"/> </div> <div class="clearfix"></div> <br> <div class="form-group form-inline" style="margin-top:10px;"> <label for="selector1" class="control-label pull-left">குல தெய்வ ஊர் : </label> <input type="text" name="fg_place" value="<?php echo $row[0]['fg_place'];?>" style="width:100%;" charset="utf-8" class="form-control pull-left tamil place_auto"/> </div> <div class="clearfix"></div> <br /> <div class="form-group form-inline" style="margin-top:10px;"> <label for="selector1" class="control-label pull-left">பட்சம் : </label> <select name="batcham" id="selector1" style="width:100%;" class="form-control pull-left english"> <option value=""></option> <option value="1" <?php if($row[0]['batcham']=="1") echo "selected";?>>கிருஷ்ண பட்சம் </option> <option value="2" <?php if($row[0]['batcham']=="2") echo "selected";?>>சுக்கில பட்சம் </option> </select> </div> <div class="clearfix"></div> <br /> <div class="form-group form-inline" style="margin-top:10px;"> <label for="selector1" class="control-label pull-left">திதி : </label> <select name="thithi" id="selector1" style="width:100%;" class="form-control pull-left english"> <option value=""></option> <option value="1" <?php if($row[0]['thithi']=="1") echo "selected";?>>பிரதமை </option> <option value="2" <?php if($row[0]['thithi']=="2") echo "selected";?>>துவிதியை </option> <option value="3" <?php if($row[0]['thithi']=="3") echo "selected";?>> திருதியை</option> <option value="4" <?php if($row[0]['thithi']=="4") echo "selected";?>>சதுர்த்தி </option> <option value="5" <?php if($row[0]['thithi']=="5") echo "selected";?>> பஞ்சமி</option> <option value="6" <?php if($row[0]['thithi']=="6") echo "selected";?>>சஷ்டி </option> <option value="7" <?php if($row[0]['thithi']=="7") echo "selected";?>> சப்தமி</option> <option value="8" <?php if($row[0]['thithi']=="8") echo "selected";?>>அஷ்டமி </option> <option value="9" <?php if($row[0]['thithi']=="9") echo "selected";?>> நவமி</option> <option value="10" <?php if($row[0]['thithi']=="10") echo "selected";?>>தசமி </option> <option value="11" <?php if($row[0]['thithi']=="11") echo "selected";?>>ஏகாதசி</option> <option value="12" <?php if($row[0]['thithi']=="12") echo "selected";?>>துவாதசி</option> <option value="13" <?php if($row[0]['thithi']=="13") echo "selected";?>>திரயோதசி</option> <option value="14" <?php if($row[0]['thithi']=="14") echo "selected";?>>சதுர்த்தசி</option> <option value="15" <?php if($row[0]['thithi']=="15") echo "selected";?>>அமாவாசை</option> <option value="16" <?php if($row[0]['thithi']=="16") echo "selected";?>>பௌர்ணமி</option> </select> </div> <div class="clearfix"></div> <br /> <div class="form-group form-inline" style="margin-top:10px;"> <label for="selector1" class="control-label pull-left">நட்சத்திரம் : </label> <select name="natchatram" id="natchatram" style="width:100%;margin-left:8px;" class="form-control pull-left english"> <option value=""></option> <option value="1" <?php if($row[0]['natchatram']=="1") echo "selected";?>>அஸ்வினி</option> <option value="2" <?php if($row[0]['natchatram']=="2") echo "selected";?>>பரணி</option> <option value="3" <?php if($row[0]['natchatram']=="3") echo "selected";?>>கார்த்திகை</option> <option value="4" <?php if($row[0]['natchatram']=="4") echo "selected";?>>ரோகிணி</option> <option value="5" <?php if($row[0]['natchatram']=="5") echo "selected";?>>மிருகசீரிடம்</option> <option value="6" <?php if($row[0]['natchatram']=="6") echo "selected";?>>திருவாதிரை</option> <option value="7" <?php if($row[0]['natchatram']=="7") echo "selected";?>>புனர்பூசம்</option> <option value="8" <?php if($row[0]['natchatram']=="8") echo "selected";?>>பூசம்</option> <option value="9" <?php if($row[0]['natchatram']=="9") echo "selected";?>>ஆயில்யம்</option> <option value="10" <?php if($row[0]['natchatram']=="10") echo "selected";?>>மகம்</option> <option value="11" <?php if($row[0]['natchatram']=="11") echo "selected";?>>பூரம்</option> <option value="12" <?php if($row[0]['natchatram']=="12") echo "selected";?>>உத்தரம்</option> <option value="13" <?php if($row[0]['natchatram']=="13") echo "selected";?>>அஸ்தம்</option> <option value="14" <?php if($row[0]['natchatram']=="14") echo "selected";?>>சித்திரை</option> <option value="15" <?php if($row[0]['natchatram']=="15") echo "selected";?>>சுவாதி</option> <option value="16" <?php if($row[0]['natchatram']=="16") echo "selected";?>>விசாகம்</option> <option value="17" <?php if($row[0]['natchatram']=="17") echo "selected";?>>அனுஷம்</option> <option value="18" <?php if($row[0]['natchatram']=="18") echo "selected";?>>கேட்டை</option> <option value="19" <?php if($row[0]['natchatram']=="19") echo "selected";?>>மூலம்</option> <option value="20" <?php if($row[0]['natchatram']=="20") echo "selected";?>>பூராடம்</option> <option value="21" <?php if($row[0]['natchatram']=="21") echo "selected";?>>உத்திராடம்</option> <option value="22" <?php if($row[0]['natchatram']=="22") echo "selected";?>>திருவோணம்</option> <option value="23" <?php if($row[0]['natchatram']=="23") echo "selected";?>>அவிட்டம்</option> <option value="24" <?php if($row[0]['natchatram']=="24") echo "selected";?>>சதயம்</option> <option value="25" <?php if($row[0]['natchatram']=="25") echo "selected";?>>பூரட்டாதி</option> <option value="26" <?php if($row[0]['natchatram']=="26") echo "selected";?>>உத்திரட்டாதி</option> <option value="27" <?php if($row[0]['natchatram']=="27") echo "selected";?>>ரேவதி</option> </select> </div> <div class="clearfix"></div> <br /> <div class="form-group form-inline" style="margin-top:10px;"> <label for="selector1" class="control-label pull-left">பாதம் : </label> <select name="padham" id="padham" style="width:100%;margin-left:8px;" class="form-control pull-left english"> <option value=""></option> <option value="1" <?php if($row[0]['padham']=="1") echo "selected";?>>1 ஆம் பாதம்</option> <option value="2" <?php if($row[0]['padham']=="2") echo "selected";?>>2 ஆம் பாதம்</option> <option value="3" <?php if($row[0]['padham']=="3") echo "selected";?>>3 ஆம் பாதம்</option> <option value="4" <?php if($row[0]['padham']=="4") echo "selected";?>>4 ஆம் பாதம்</option> </select> </div> <div class="clearfix"></div> <br /> <div class="form-group form-inline" style="margin-top:10px;"> <label for="selector1" class="control-label pull-left">லக்னம் : </label> <select name="laknam" id="laknam" style="width:445px;margin-left:8px;" class="form-control pull-left english"> <option value=""></option> <option value="1" <?php if($row[0]['laknam']=="1") echo "selected";?>>மேஷம்</option> <option value="2" <?php if($row[0]['laknam']=="2") echo "selected";?>>ரிஷபம்</option> <option value="3" <?php if($row[0]['laknam']=="3") echo "selected";?>>மிதுனம்</option> <option value="4" <?php if($row[0]['laknam']=="4") echo "selected";?>>கடகம்</option> <option value="5" <?php if($row[0]['laknam']=="5") echo "selected";?>>சிம்மம்</option> <option value="6" <?php if($row[0]['laknam']=="6") echo "selected";?>>கன்னி</option> <option value="7" <?php if($row[0]['laknam']=="7") echo "selected";?>>துலாம்</option> <option value="8" <?php if($row[0]['laknam']=="8") echo "selected";?>>விருச்சிகம்</option> <option value="9" <?php if($row[0]['laknam']=="9") echo "selected";?>>தனுசு</option> <option value="10" <?php if($row[0]['laknam']=="10") echo "selected";?>>மகரம்</option> <option value="11" <?php if($row[0]['laknam']=="11") echo "selected";?>>கும்பம்</option> <option value="12" <?php if($row[0]['laknam']=="12") echo "selected";?>>மீனம்</option> </select> </div> <div class="clearfix"></div> <br /> <div class="form-group form-inline" style="margin-top:10px;"> <label for="selector1" class="control-label pull-left">ராசி : </label> <select name="rasi" id="rasi" style="width:470px;margin-left:8px;" class="form-control pull-left english"> <option value=""></option> <option value="1" <?php if($row[0]['rasi']=="1") echo "selected";?>>மேஷம்</option> <option value="2" <?php if($row[0]['rasi']=="2") echo "selected";?>>ரிஷபம்</option> <option value="3" <?php if($row[0]['rasi']=="3") echo "selected";?>>மிதுனம்</option> <option value="4" <?php if($row[0]['rasi']=="4") echo "selected";?>>கடகம்</option> <option value="5" <?php if($row[0]['rasi']=="5") echo "selected";?>>சிம்மம்</option> <option value="6" <?php if($row[0]['rasi']=="6") echo "selected";?>>கன்னி</option> <option value="7" <?php if($row[0]['rasi']=="7") echo "selected";?>>துலாம்</option> <option value="8" <?php if($row[0]['rasi']=="8") echo "selected";?>>விருச்சிகம்</option> <option value="9" <?php if($row[0]['rasi']=="9") echo "selected";?>>தனுசு</option> <option value="10" <?php if($row[0]['rasi']=="10") echo "selected";?>>மகரம்</option> <option value="11" <?php if($row[0]['rasi']=="11") echo "selected";?>>கும்பம்</option> <option value="12" <?php if($row[0]['rasi']=="12") echo "selected";?>>மீனம்</option> </select> </div> <div class="clearfix"></div> <br /> <div class="form-group form-inline" style="margin-top:10px;"> <label for="selector1" class="control-label pull-left">திசை இருப்பு : </label> <select name="dhisa" id="dhisa" class="form-control pull-left english" style="margin-left:0px;width:400px;" > <option value=""></option> <option value="1" <?php if($row[0]['dhisa']=="1") echo "selected";?>>சூரியன்</option> <option value="2" <?php if($row[0]['dhisa']=="2") echo "selected";?>>சந்திரன்</option> <option value="3" <?php if($row[0]['dhisa']=="3") echo "selected";?>>செவ்வாய்</option> <option value="4" <?php if($row[0]['dhisa']=="4") echo "selected";?>>புதன்</option> <option value="5" <?php if($row[0]['dhisa']=="5") echo "selected";?>>குரு</option> <option value="6" <?php if($row[0]['dhisa']=="6") echo "selected";?>>சுக்கிரன்</option> <option value="7" <?php if($row[0]['dhisa']=="7") echo "selected";?>>சனி</option> <option value="8" <?php if($row[0]['dhisa']=="8") echo "selected";?>>ராகு</option> <option value="9" <?php if($row[0]['dhisa']=="9") echo "selected";?>>கேது</option> </select> </div> <div class="clearfix"></div> <br /> <div class="form-group form-inline" style="margin-top:10px; margin-left:0px;"> <label for="selector1" class="control-label">வருடம் : </label> <input type = "text" name="dyears" id="dyears" value="<?php echo $row[0]['dyears'];?>" class = "form-control" style="width:70px;" maxlength="2"> <label for="selector1" class="control-label">மாதம் : </label> <input type = "text" name="dmonth" id="dmonth" value="<?php echo $row[0]['dmonth'];?>" class = "form-control" style="width:70px;" maxlength="2"> <label for="selector1" class="control-label">நாள் : </label> <input type = "text" name="ddays" id="ddays" value="<?php echo $row[0]['ddays'];?>" class = "form-control number" style="width:70px;" maxlength="2"> </div> <div class="clearfix"></div> <div class="form-group form-inline" style="margin-top:10px;"> <label for="selector1" class="control-label pull-left">குடும்ப குறிப்பு : </label> <textarea name="family_hint" rows="4" columns="8" id="selector1" class="form-control tamil pull-left" style="width:400px;"> <?php echo trim($row[0]['family_hint']);?> </textarea> </div> <div class="clearfix"></div> <div class="form-group form-inline" style="margin-top:20px;"> <label for="selector1" class="control-label pull-left">ஜாதகம் : </label> <select name="astrotype" id="astrotype" class="form-control pull-left english" style="width:150px; margin-left:21px; font-weight:bold; font-size:20px; height:40px;"> <option value=""></option> <option <?php if($row[0]['astrotype']=="N") echo "selected";?>>N</option> <option <?php if($row[0]['astrotype']=="I") echo "selected";?>>I</option> </select> </div> <div class="clearfix"></div> <br /> <div class="clearfix"></div><br /> <div class="form-group form-inline" style="margin-top:10px;"> <input id="caste_restrict" class="control-label" type="checkbox" name="caste_restrict" value="yes" style="-webkit-appearance: radio; -moz-appearance: radio;-ms-appearance: radio;margin-right:20px;" <?php if($row[0]['caste_restrict']=="yes") echo "checked";?>><label for="selector1" class="control-label pull-left"> ஜாதி தடையில்லை</label> </div> <div class="clearfix"></div> <br /> <div class="form-group form-inline" style="margin-top:10px;"> <input id="astro_option" class="control-label" type="checkbox" name="astro_option" value="yes" style="-webkit-appearance: radio; -moz-appearance: radio;-ms-appearance: radio;margin-right:20px;" <?php if($row[0]['astro_option']=="yes") echo "checked";?>><label for="selector1" class="control-label pull-left"> ஜாதகம் பார்க்காமல்</label> </div> <div class="clearfix"></div> <br /> <div class="form-group form-inline" style="margin-top:10px;"> <label for="selector1" class="control-label pull-left">முகவரி : </label> <textarea name="address" id="address" rows="8" columns="8" class="form-control pull-left tamil" style="width:400px;height:150px; margin-left:65px;"> <?php echo trim($row[0]['addr1']);?></textarea> </div> </div> </div> <div class="clearfix"></div> <div class="row"> <div class="col-md-6" style="width:45%;"> <div class="form-group" style="margin-top:10px;"> <label for="selector1" class="control-label"><b>ராசி கட்டம் :</b> </label> <?php $statement1 = $pdo->prepare("select * from rasi where id='".$row[0]['rasi_kattam']."'"); $statement1->execute(); $rres = $statement1->fetchAll(PDO::FETCH_ASSOC); ?> <input type="hidden" name="rasi_kattam" id="rasi_kattam" value="<?php echo $row[0]['rasi_kattam'];?>"/> <table border="1" cellpadding="0" cellspacing="0" style="border-right:2px solid red;"> <thead class="thead-dark"> <tr> <td cellpadding="0" cellspacing="0" style="padding:0px;width:30px; height:60px; border:1px solid #000; background-color:#ffdc19;"><span>மீனம்</span> <span style="text-align:right;"class="1"></span><textarea name="rasi1" class="form-control tamil" rows="5" style="padding:0px; border:0px!important; height:60px; font-size:18px;text-align:center; resize:none; " auto-complete="off"><?php echo $rres[0]['rasi1'];?></textarea><!--<input type="text" name="rasi1" class="form-control tamil" value=" <?php //echo $rres[0]['rasi1'];?>" style="padding:0px;width:150px; height:70px; margin-left:60px;margin-top:15px; font-size:30px;">--> <div class="radio" style="margin-left:65px;"> <label style="vertical-align:middle;" class="p_1"><input type="radio" name="rasi_laknam" class="p_1" value="1" style="padding:0px;width:25px; height:25px; padding-right:8px; vertical-align:middle;" <?php if($rres[0]['laknam']=="1") echo "checked";?>/> <span >ல</span></label> </div> </td> <td scope="col" style="padding:0px;width:30px; height:60px; background-color:#ffdc19;"> <span>மேஷம்</span> <span style="text-align:right;"class="2"></span> <textarea name="rasi2" class="form-control tamil" rows="5" style="padding:0px; border:0px!important; height:60px; font-size:18px;text-align:center; resize:none; " auto-complete="off"><?php echo $rres[0]['rasi2'];?></textarea><!--<input type="text"class="form-control tamil" name="rasi2" value="<?php //echo $rres[0]['rasi2'];?>" style="padding:0px;width:150px; height:70px; margin-left:60px;margin-top:15px; font-size:30px;">--> <div class="radio" style="margin-left:65px;"> <label style="vertical-align:middle;" class="p_2"><input type="radio" name="rasi_laknam" class="p_2" value="2" style="padding:0px;width:25px; height:25px; padding-right:8px; vertical-align:middle;" <?php if($rres[0]['laknam']=="2") echo "checked";?>/> <span >ல</span></label> </div></td> <td scope="col" style="padding:0px;width:30px; height:60px; background-color:#ffdc19;"> <span>ரிஷபம்</span> <span style="text-align:right;"class="3"></span> <textarea name="rasi3" class="form-control tamil" rows="5" style="padding:0px; border:0px!important; height:60px; font-size:18px;text-align:center; resize:none; " auto-complete="off"><?php echo $rres[0]['rasi3'];?></textarea><!--<input type="text"class="form-control tamil" name="rasi3" value="<?php //echo $rres[0]['rasi3'];?>" style="padding:0px;width:150px; height:70px; margin-left:60px;margin-top:15px; font-size:30px;">--><div class="radio" style="margin-left:65px;"> <label style="vertical-align:middle;" class="p_3"><input type="radio" name="rasi_laknam" class="p_3" value="3" style="padding:0px;width:25px; height:25px; padding-right:8px; vertical-align:middle;"<?php if($rres[0]['laknam']=="3") echo "checked";?>/> <span >ல</span></label> </div></td> <td scope="col" style="padding:0px;width:30px; height:60px; background-color:#ffdc19;"> <span>மிதுனம்</span> <span style="text-align:right;"class="4"></span><textarea name="rasi4" class="form-control tamil" rows="5" style="padding:0px; border:0px!important; height:60px; font-size:18px;text-align:center; resize:none; " auto-complete="off"><?php echo $rres[0]['rasi4'];?></textarea><!--<input type="text"class="form-control tamil" name="rasi4" value="<?php //echo $rres[0]['rasi4'];?>" style="padding:0px;width:150px; height:70px; margin-left:60px;margin-top:15px; font-size:30px;">--><div class="radio" style="margin-left:65px;"> <label style="vertical-align:middle;" class="p_4"><input type="radio" name="rasi_laknam" class="p_4" value="4" style="padding:0px;width:25px; height:25px; padding-right:8px; vertical-align:middle;"<?php if($rres[0]['laknam']=="4") echo "checked";?>/> <span >ல</span></label> </div></td> </tr> </thead> <tbody> <tr> <td cellpadding="0" cellspacing="0" style="padding:0px;width:30px; height:60px;border:1px solid #000; background-color:#ffdc19;"> <span>கும்பம்</span> <span style="text-align:right;"class="5"></span> <textarea name="rasi5" class="form-control tamil" rows="5" style="padding:0px; border:0px!important; height:60px; font-size:18px;text-align:center; resize:none; " auto-complete="off"><?php echo $rres[0]['rasi5'];?></textarea><!--<input type="text" name="rasi5" class="form-control tamil" value="<?php// echo $rres[0]['rasi5'];?> " style="padding:0px;width:150px; height:70px; margin-left:60px;margin-top:15px; font-size:30px;">--><div class="radio" style="margin-left:65px;"> <label style="vertical-align:middle;" class="p_5"><input type="radio" name="rasi_laknam" class="p_5" value="5" style="padding:0px;width:25px; height:25px; padding-right:8px; vertical-align:middle;"<?php if($rres[0]['laknam']=="5") echo "checked";?>/> <span >ல</span></label> </div></td> <td scope="col" colspan="2" style="padding:0px;width:30px; height:60px; border:1px solid #000;border-bottom:0px;"><h3 class="text-center" style="margin-top: 100px;">இராசி</h3></td> <td scope="col" style="padding:0px;width:30px; height:60px;border:1px solid #000; background-color:#ffdc19;"><span>கடகம்</span> <span style="text-align:right;"class="6"></span><textarea name="rasi6" class="form-control tamil" rows="5" style="padding:0px; border:0px!important; height:60px; font-size:18px;text-align:center; resize:none; " auto-complete="off"><?php echo $rres[0]['rasi6'];?></textarea><!--<input type="text" name="rasi6" class="form-control tamil" value="<?php// echo $rres[0]['rasi6'];?>" style="padding:0px;width:150px; height:70px; margin-left:60px;margin-top:15px; font-size:30px; ">--><div class="radio" style="margin-left:65px;"> <label style="vertical-align:middle;" class="p_6"><input type="radio" name="rasi_laknam" class="p_6" value="6" style="padding:0px;width:25px; height:25px; padding-right:8px; vertical-align:middle;"<?php if($rres[0]['laknam']=="6") echo "checked";?>/> <span >ல</span></label> </div></td> </tr> <tr> <td cellpadding="0" cellspacing="0" style="padding:0px;width:30px; height:60px;border:1px solid #000; background-color:#ffdc19;"><span>மகரம்</span> <span style="text-align:right;"class="7"></span><textarea name="rasi7" class="form-control tamil" rows="5" style="padding:0px; border:0px!important; height:60px; font-size:18px;text-align:center; resize:none; " auto-complete="off"><?php echo $rres[0]['rasi7'];?></textarea><!--<input type="text" name="rasi7" class="form-control tamil" value="<?php //echo $rres[0]['rasi7'];?>" style="padding:0px;width:150px; height:70px; margin-left:60px;margin-top:15px; font-size:30px; ">--><div class="radio" style="margin-left:65px;"> <label style="vertical-align:middle;" class="p_7"><input type="radio" name="rasi_laknam" class="p_7" value="7" style="padding:0px;width:25px; height:25px; padding-right:8px; vertical-align:middle;"<?php if($rres[0]['laknam']=="7") echo "checked";?>/> <span >ல</span></label> </div></td> <td scope="col" colspan="2" style="padding:0px;width:30px; height:60px; border:1px solid #000; border-top:0px;"> </td> <td scope="col" style="padding:0px;width:30px; height:60px;border:1px solid #000; background-color:#ffdc19;"><span>சிம்மம்</span> <span style="text-align:right;"class="8"></span><textarea name="rasi8" class="form-control tamil" rows="5" style="padding:0px; border:0px!important; height:60px; font-size:18px;text-align:center; resize:none; " auto-complete="off"><?php echo $rres[0]['rasi8'];?></textarea><!--<input type="text" class="form-control tamil" name="rasi8" value="<?php //echo $rres[0]['rasi8'];?>" style="padding:0px;width:150px; height:70px; margin-left:60px;margin-top:15px; font-size:30px;">--><div class="radio" style="margin-left:65px;"> <label style="vertical-align:middle;" class="p_8"><input type="radio" name="rasi_laknam" class="p_8" value="8" style="padding:0px;width:25px; height:25px; padding-right:8px; vertical-align:middle;"<?php if($rres[0]['laknam']=="8") echo "checked";?>/> <span >ல</span></label> </div></td> </tr> <tr> <tr> <td cellpadding="0" cellspacing="0" style="padding:0px;width:30px; height:60px; border:1px solid #000; background-color:#ffdc19;"><span>தனுசு</span> <span style="text-align:right;"class="9"></span><textarea name="rasi9" class="form-control tamil" rows="5" style="padding:0px; border:0px!important; height:60px; font-size:18px;text-align:center; resize:none; " auto-complete="off"><?php echo $rres[0]['rasi9'];?></textarea><!--<input type="text" class="form-control tamil" name="rasi9" value="<?php //echo $rres[0]['rasi9'];?>" style="padding:0px;width:150px; height:70px; margin-left:60px;margin-top:15px; font-size:30px;">--><div class="radio" style="margin-left:65px;"> <label style="vertical-align:middle;" class="p_9"><input type="radio" name="rasi_laknam" class="p_9" value="9" style="padding:0px;width:25px; height:25px; padding-right:8px; vertical-align:middle;"<?php if($rres[0]['laknam']=="9") echo "checked";?>/> <span >ல</span></label> </div></td> <td scope="col" style="padding:0px;width:30px; height:60px; background-color:#ffdc19;"> <span>விருச்சிகம்</span> <span style="text-align:right;"class="10"></span> <textarea name="rasi10" class="form-control tamil" rows="5" style="padding:0px; border:0px!important; height:60px; font-size:18px;text-align:center; resize:none; " auto-complete="off"><?php echo $rres[0]['rasi10'];?></textarea><!--<input type="text"class="form-control tamil" value="<?php //echo $rres[0]['rasi10'];?>" name="rasi10" style="padding:0px;width:150px; height:70px; margin-left:60px;margin-top:15px; font-size:30px;">--><div class="radio" style="margin-left:65px;"> <label style="vertical-align:middle;" class="p_10"><input type="radio" name="rasi_laknam" class="p_10" value="10" style="padding:0px;width:25px; height:25px; padding-right:8px; vertical-align:middle;"<?php if($rres[0]['laknam']=="10") echo "checked";?>/> <span >ல</span></label> </div></td> <td scope="col" style="padding:0px;width:30px; height:60px; background-color:#ffdc19;"><span>துலாம்</span> <span style="text-align:right;"class="11"></span><textarea name="rasi11" class="form-control tamil" rows="5" style="padding:0px; border:0px!important; height:60px; font-size:18px;text-align:center; resize:none; " auto-complete="off"><?php echo $rres[0]['rasi11'];?></textarea><!--<input type="text" class="form-control tamil" value="<?php //echo $rres[0]['rasi11'];?>" name="rasi11" style="padding:0px;width:150px; height:70px; margin-left:60px;margin-top:15px; font-size:30px;">--><div class="radio" style="margin-left:65px;"> <label style="vertical-align:middle;" class="p_11"><input type="radio" name="rasi_laknam" class="p_11" value="11" style="padding:0px;width:25px; height:25px; padding-right:8px; vertical-align:middle;"<?php if($rres[0]['laknam']=="11") echo "checked";?>/> <span >ல</span></label> </div></td> <td scope="col" style="padding:0px;width:30px; height:60px; background-color:#ffdc19;" cellpadding="5"cellspacing="5"><span>கன்னி</span> <span style="text-align:right;"class="12"></span><textarea name="rasi12" class="form-control tamil" rows="5" style="padding:0px; border:600px!important; height:60px; font-size:18px;text-align:center; resize:none; " auto-complete="off"><?php echo $rres[0]['rasi12'];?></textarea><!--<input type="text" name="rasi12" class="form-control tamil" value="<?php //echo $rres[0]['rasi12'];?>" style="padding:0px;width:150px; height:70px; margin-left:60px;margin-top:15px; font-size:30px;text-align:center;">--><div class="radio" style="margin-left:65px;"> <label style="vertical-align:middle;" class="p_12"><input type="radio" name="rasi_laknam" class="p_12" value="12" style="padding:0px;width:25px; height:25px; padding-right:8px; vertical-align:middle;"<?php if($rres[0]['laknam']=="12") echo "checked";?>/> <span >ல</span></label> </div></td> </tr> </tr> </tbody> </table> <a href="clear_rasi.php?rasi=<?php echo $row[0]['rasi_kattam'] ?>&id=<? echo $_GET['id'] ?>" style="font-size:20px;">Rasi Clear</a> </div> </div> <div class="col-md-6" style="width:45%;"> <div class="form-group" style="margin-top:10px;"> <label for="selector1" class="control-label"><b>நவாம்சம் கட்டம் :</b></label> <?php $statement2 = $pdo->prepare("select * from nav where id='".$row[0]['nav_kattam']."'"); $statement2->execute(); $nres = $statement2->fetchAll(PDO::FETCH_ASSOC); //echo $rres[0]["name"]; ?> <input type="hidden" name="nav_kattam" id="nav_kattam" value="<?php echo $row[0]['nav_kattam'];?>"/> <table border="1" cellpadding="0" cellspacing="0" > <thead class="thead-dark"> <tr> <td cellpadding="0" cellspacing="0" style="padding:0px;width:30px; height:60px; border:1px solid #000; background-color:#ffdc19;"><span>மீனம்</span> <span style="text-align:right;"class="a_1"></span><textarea name="nav1" class="form-control tamil" rows="5" style="padding:0px; border:0px!important; height:60px; font-size:18px;text-align:center; resize:none; " auto-complete="off"><?php echo $nres[0]['nav1'];?></textarea><!--<input type="text" name="nav1" class="form-control tamil" value="<?php //echo $nres[0]['nav1'];?>" style="padding:0px;width:150px; height:70px; margin-left:60px;margin-top:15px; font-size:30px;">--><div class="radio" style="margin-left:65px;"> <label style="vertical-align:middle;" class="n_1"><input type="radio" name="nav_laknam" value="1" class="n_1" style="padding:0px;width:25px; height:25px; padding-right:8px; vertical-align:middle;" <?php if($nres[0]['laknam']=="1") echo "checked";?>/> <span >ல</span></label> </div></td> <td scope="col" style="padding:0px;width:30px; height:60px; background-color:#ffdc19;"><span>மேஷம்</span> <span style="text-align:right;"class="a_2"></span><textarea name="nav2" class="form-control tamil" rows="5" style="padding:0px; border:0px!important; height:60px; font-size:18px;text-align:center; resize:none; " auto-complete="off"><?php echo $nres[0]['nav2'];?></textarea><!--<input type="text"class="form-control tamil" name="nav2" value="<?php //echo $nres[0]['nav2'];?>" style="padding:0px;width:150px; height:70px; margin-left:60px;margin-top:15px; font-size:30px;">--><div class="radio" style="margin-left:65px;"> <label style="vertical-align:middle;" class="n_2"><input type="radio" name="nav_laknam" value="2" class="n_2" style="padding:0px;width:25px; height:25px; padding-right:8px; vertical-align:middle;"<?php if($nres[0]['laknam']=="2") echo "checked";?>/> <span >ல</span></label> </div></td> <td scope="col" style="padding:0px;width:30px; height:60px; background-color:#ffdc19;"><span>ரிஷபம்</span> <span style="text-align:right;"class="a_3"></span><textarea name="nav3" class="form-control tamil" rows="5" style="padding:0px; border:0px!important; height:60px; font-size:18px;text-align:center; resize:none; " auto-complete="off"><?php echo $nres[0]['nav3'];?></textarea><!--<input type="text"class="form-control tamil" name="nav3" value="<?php //echo $nres[0]['nav3'];?>" style="padding:0px;width:150px; height:70px; margin-left:60px;margin-top:15px; font-size:30px;">--><div class="radio" style="margin-left:65px;"> <label style="vertical-align:middle;" class="n_3"><input type="radio" name="nav_laknam" value="3" class="n_3" style="padding:0px;width:25px; height:25px; padding-right:8px; vertical-align:middle;"<?php if($nres[0]['laknam']=="3") echo "checked";?>/> <span >ல</span></label> </div></td> <td scope="col" style="padding:0px;width:30px; height:60px; background-color:#ffdc19;"><span>மிதுனம்</span> <span style="text-align:right;"class="a_4"></span><textarea name="nav4" class="form-control tamil" rows="5" style="padding:0px; border:0px!important; height:60px; font-size:18px;text-align:center; resize:none; " auto-complete="off"><?php echo $nres[0]['nav4'];?></textarea><!--<input type="text"class="form-control tamil" name="nav4" value="<?php //echo $nres[0]['nav4'];?>" style="padding:0px;width:150px; height:70px; margin-left:60px;margin-top:15px; font-size:30px;">--><div class="radio" style="margin-left:65px;"> <label style="vertical-align:middle;" class="n_4"><input type="radio" name="nav_laknam" value="4" class="n_4" style="padding:0px;width:25px; height:25px; padding-right:8px; vertical-align:middle;"<?php if($nres[0]['laknam']=="4") echo "checked";?>/> <span >ல</span></label> </div></td> </tr> </thead> <tbody> <tr> <td cellpadding="0" cellspacing="0" style="padding:0px;width:30px; height:60px;border:1px solid #000; background-color:#ffdc19;"><span>கும்பம்</span> <span style="text-align:right;"class="a_5"></span><textarea name="nav5" class="form-control tamil" rows="5" style="padding:0px; border:0px!important; height:60px; font-size:18px;text-align:center; resize:none; " auto-complete="off"><?php echo $nres[0]['nav5'];?></textarea><!--<input type="text" name="nav5" class="form-control tamil" value="<?php //echo $nres[0]['nav5'];?>" style="padding:0px;width:150px; height:70px; margin-left:60px;margin-top:15px; font-size:30px;">--><div class="radio" style="margin-left:65px;"> <label style="vertical-align:middle;" class="n_5"><input type="radio" name="nav_laknam" value="5" class="n_5" style="padding:0px;width:25px; height:25px; padding-right:8px; vertical-align:middle;"<?php if($nres[0]['laknam']=="5") echo "checked";?>/> <span >ல</span></label> </div></td> <td scope="col" colspan="2" style="padding:0px;width:100px; height:60px; border:1px solid #000;border-bottom:0px;"><h3 class="text-center" style="margin-top: 100px;">நவாம்சம் </h3></td> <td scope="col" style="padding:0px;width:30px; height:60px;border:1px solid #000; background-color:#ffdc19;"><span>கடகம்</span> <span style="text-align:right;"class="a_6"></span><textarea name="nav6" class="form-control tamil" rows="5" style="padding:0px; border:0px!important; height:60px; font-size:18px;text-align:center; resize:none; " auto-complete="off"><?php echo $nres[0]['nav6'];?></textarea><!--<input type="ext" name="nav6" class="form-control tamil" value="<?php// echo $nres[0]['nav6'];?>" style="padding:0px;width:150px; height:70px; margin-left:60px;margin-top:15px; font-size:30px; ">--><div class="radio" style="margin-left:65px;"> <label style="vertical-align:middle;" class="n_6"><input type="radio" name="nav_laknam" value="6" class="n_6" style="padding:0px;width:25px; height:25px; padding-right:8px; vertical-align:middle;"<?php if($nres[0]['laknam']=="6") echo "checked";?>/> <span >ல</span></label> </div></td> </tr> <tr> <td cellpadding="0" cellspacing="0"style="padding:0px;width:30px; height:60px;border:1px solid #000; background-color:#ffdc19;"><span>மகரம்</span> <span style="text-align:right;"class="a_7"></span><textarea name="nav7" class="form-control tamil" rows="5" style="padding:0px; border:0px!important; height:60px; font-size:18px;text-align:center; resize:none; " auto-complete="off"><?php echo $nres[0]['nav7'];?></textarea><!--<input type="text" name="nav7" class="form-control tamil" value="<?php //echo $nres[0]['nav7'];?>" style="padding:0px;width:150px; height:70px; margin-left:60px;margin-top:15px; font-size:30px; ">--><div class="radio" style="margin-left:65px;"> <label style="vertical-align:middle;" class="n_7"><input type="radio" name="nav_laknam" value="7" class="n_7" style="padding:0px;width:25px; height:25px; padding-right:8px; vertical-align:middle;"<?php if($nres[0]['laknam']=="7") echo "checked";?>/> <span >ல</span></label> </div></td> <td scope="col" colspan="2" style="padding:0px;width:100px; height:60px; border:1px solid #000; border-top:0px;"> </td> <td scope="col" style="padding:0px;width:30px; height:60px;border:1px solid #000; background-color:#ffdc19;"><span>சிம்மம்</span> <span style="text-align:right;"class="a_8"></span><textarea name="nav8" class="form-control tamil" rows="5" style="padding:0px; border:0px!important; height:60px; font-size:18px;text-align:center; resize:none; " auto-complete="off"><?php echo $nres[0]['nav8'];?></textarea><!--<input type="text" name="nav8" class="form-control tamil" value="<?php //echo $nres[0]['nav8'];?>" style="padding:0px;width:150px; height:70px; margin-left:60px;margin-top:15px; font-size:30px;">--><div class="radio" style="margin-left:65px;"> <label style="vertical-align:middle;" class="n_8"><input type="radio" name="nav_laknam" value="8" class="n_8" style="padding:0px;width:25px; height:25px; padding-right:8px; vertical-align:middle;"<?php if($nres[0]['laknam']=="8") echo "checked";?>/> <span >ல</span></label> </div></td> </tr> <tr> <tr> <td cellpadding="0" cellspacing="0" style="padding:0px;width:30px; height:60px; border:1px solid #000; background-color:#ffdc19;"><span>தனுசு</span> <span style="text-align:right;"class="a_9"></span><textarea name="nav9" class="form-control tamil" rows="5" style="padding:0px; border:0px!important; height:60px; font-size:18px;text-align:center; resize:none; " auto-complete="off"><?php echo $nres[0]['nav9'];?></textarea><!--<input type="text" name="nav9" class="form-control tamil " value="<?php //echo $nres[0]['nav9'];?>" style="padding:0px;width:150px; height:70px; margin-left:60px;margin-top:15px; font-size:30px;">--><div class="radio" style="margin-left:65px;"> <label style="vertical-align:middle;" class="n_9"><input type="radio" name="nav_laknam" value="9" class="n_9" style="padding:0px;width:25px; height:25px; padding-right:8px; vertical-align:middle;"<?php if($nres[0]['laknam']=="9") echo "checked";?>/> <span >ல</span></label> </div></td> <td scope="col" style="padding:0px;width:30px; height:60px; background-color:#ffdc19;"><span>விருச்சிகம்</span> <span style="text-align:right;"class="a_10"></span><textarea name="nav10" class="form-control tamil" rows="5" style="padding:0px; border:0px!important; height:60px; font-size:318px;text-align:center; resize:none; " auto-complete="off"><?php echo $nres[0]['nav10'];?></textarea><!--<input type="text" class="form-control tamil" name="nav10" value="<?php //echo $nres[0]['nav10'];?>" style="padding:0px;width:150px; height:70px; margin-left:60px;margin-top:15px; font-size:30px;">--><div class="radio" style="margin-left:65px;"> <label style="vertical-align:middle;" class="n_10"><input type="radio" name="nav_laknam" value="10" class="n_10" style="padding:0px;width:25px; height:25px; padding-right:8px; vertical-align:middle;"<?php if($nres[0]['laknam']=="10") echo "checked";?>/> <span >ல</span></label> </div></td> <td scope="col" style="padding:0px;width:30px; height:60px; background-color:#ffdc19;"><span>துலாம்</span> <span style="text-align:right;"class="a_11"></span><textarea name="nav11" class="form-control tamil" rows="5" style="padding:0px; border:0px!important; height:60px; font-size:18px;text-align:center; resize:none; " auto-complete="off"><?php echo $nres[0]['nav11'];?></textarea><!--<input type="text" class="form-control tamil" name="nav11" value="<?php //echo $nres[0]['nav11'];?>" style="padding:0px;width:150px; height:70px; margin-left:60px;margin-top:15px; font-size:30px;">--><div class="radio" style="margin-left:65px;"> <label style="vertical-align:middle;" class="n_11"><input type="radio" name="nav_laknam" value="11" class="n_11" style="padding:0px;width:25px; height:25px; padding-right:8px; vertical-align:middle;"<?php if($nres[0]['laknam']=="11") echo "checked";?>/> <span >ல</span></label> </div></td> <td scope="col" style="padding:0px;width:30px; height:60px; background-color:#ffdc19;" cellpadding="5"cellspacing="5"><span>கன்னி</span> <span style="text-align:right;"class="a_12"></span><textarea name="nav12" class="form-control tamil" rows="5" style="padding:0px; border:0px!important; height:60px; font-size:18px;text-align:center; resize:none; " auto-complete="off"><?php echo $nres[0]['nav12'];?></textarea><!--<input type="text" name="nav12" class="form-control tamil" value="<?php //echo $nres[0]['nav12'];?>" style="padding:0px;width:150px; height:70px; margin-left:60px;margin-top:15px; font-size:30px;text-align:center;">--><div class="radio" style="margin-left:65px;"> <label style="vertical-align:middle;" class="n_12"><input type="radio" name="nav_laknam" value="12" class="n_12" style="padding:0px;width:25px; height:25px; padding-right:8px; vertical-align:middle;"<?php if($nres[0]['laknam']=="12") echo "checked";?>/> <span >ல</span></label> </div></td> </tr> </tr> </tbody> </table> <a href="clear_rasi.php?nav=<?php echo $row[0]['nav_kattam'] ?>&id=<? echo $_GET['id'] ?>" style="font-size:20px;">Nav Clear</a> </div> </div> </div> <div class="row"> <div class="col-md-6"> <div class="form-group form-inline" style="margin-top:10px;"> <label for="selector1" class="control-label pull-left" style="font-weight:bold;width: 100%;">எதிர்பார்ப்பு : </label> <textarea name="expectation" rows="4" columns="8" id="selector1" style="width:400px;margin-left:5px;width: 100%; margin-top:10px;" class="form-control tamil"><?php echo $row[0]['expectation'];?></textarea> </div> <br /> <div class="form-group form-inline" style="margin-top:10px;"> <label for="selector1" class="control-label pull-left" style="font-weight:bold;width: 100%;">உட்பிரிவு சம்மதம்? : </label> <select name="caste_wish" id="selector1" style="width: 100%; margin-left:4px;margin-top:10px;" class="form-control pull-left english"> <option value=""></option> <option value="1" <?php if($row[0]['caste_wish']=="1") echo "selected";?>>சம்மதம் </option> <option value="2" <?php if($row[0]['caste_wish']=="2") echo "selected";?>>வேண்டாம் </option> </select> </div> </div> <div class="col-md-6"> <div class="form-group form-inline" style="margin-top:10px;"> <label for="selector1" class="control-label pull-left" style="font-weight:bold;">தேவைப்படும் ராசி, நட்சத்திரம் : </label> <!-- <textarea name="expect_rasi" rows="8" columns="8" style=" width:272px;" id="selector1" class="form-control pull-left tamil">--> <?php $id = explode(",", $row[0]['expect_rasi']);?> <!-- </textarea>--> <br/> <div class="row"> <div class="col-md-6"> <input type="checkbox" name="expect_rasi[]" value="1" <?php if(in_array("1",$id)) echo "checked";?>/> அஸ்வினி <br/> <input type="checkbox" name="expect_rasi[]" value="2" <?php if(in_array("2",$id)) echo "checked";?>> பரணி <br/> <input type="checkbox" name="expect_rasi[]" value="3" <?php if(in_array("3",$id)) echo "checked";?>> கார்த்திகை <br/> <input type="checkbox" name="expect_rasi[]" value="4" <?php if(in_array("4",$id)) echo "checked";?>> ரோகிணி <br/> <input type="checkbox" name="expect_rasi[]" value="5" <?php if(in_array("5",$id)) echo "checked";?>> மிருகசீரிடம் <br/> <input type="checkbox" name="expect_rasi[]" value="6" <?php if(in_array("6",$id)) echo "checked";?>> திருவாதிரை <br/> <input type="checkbox" name="expect_rasi[]" value="7" <?php if(in_array("7",$id)) echo "checked";?>> புனர்பூசம் <br/> <input type="checkbox" name="expect_rasi[]" value="8" <?php if(in_array("8",$id)) echo "checked";?>> பூசம் <br/> <input type="checkbox" name="expect_rasi[]" value="9" <?php if(in_array("9",$id)) echo "checked";?>> ஆயில்யம் <br/> <input type="checkbox" name="expect_rasi[]" value="10" <?php if(in_array("10",$id)) echo "checked";?>> மகம் <br/> <input type="checkbox" name="expect_rasi[]" value="11" <?php if(in_array("11",$id)) echo "checked";?>> பூரம் <br/> <input type="checkbox" name="expect_rasi[]" value="12" <?php if(in_array("12",$id)) echo "checked";?>> உத்தரம் <br/> <input type="checkbox" name="expect_rasi[]" value="13" <?php if(in_array("13",$id)) echo "checked";?>> அஸ்தம் <br/> <input type="checkbox" name="expect_rasi[]" value="14" <?php if(in_array("14",$id)) echo "checked";?>> சித்திரை </div> <div class="col-md-6"> <input type="checkbox" name="expect_rasi[]" value="15" <?php if(in_array("15",$id)) echo "checked";?>> சுவாதி <br/> <input type="checkbox" name="expect_rasi[]" value="16" <?php if(in_array("16",$id)) echo "checked";?>> விசாகம் <br/> <input type="checkbox" name="expect_rasi[]" value="17" <?php if(in_array("17",$id)) echo "checked";?>> அனுஷம் <br/> <input type="checkbox" name="expect_rasi[]" value="18" <?php if(in_array("18",$id)) echo "checked";?>> கேட்டை <br/> <input type="checkbox" name="expect_rasi[]" value="19" <?php if(in_array("19",$id)) echo "checked";?>> மூலம் <br/> <input type="checkbox" name="expect_rasi[]" value="20" <?php if(in_array("20",$id)) echo "checked";?>> பூராடம் <br/> <input type="checkbox" name="expect_rasi[]" value="21" <?php if(in_array("21",$id)) echo "checked";?>> உத்திராடம் <br/> <input type="checkbox" name="expect_rasi[]" value="22" <?php if(in_array("22",$id)) echo "checked";?>> திருவோணம் <br/> <input type="checkbox" name="expect_rasi[]" value="23" <?php if(in_array("23",$id)) echo "checked";?>> அவிட்டம் <br/> <input type="checkbox" name="expect_rasi[]" value="24" <?php if(in_array("24",$id)) echo "checked";?>> சதயம் <br/> <input type="checkbox" name="expect_rasi[]" value="25" <?php if(in_array("25",$id)) echo "checked";?>> பூரட்டாதி <br/> <input type="checkbox" name="expect_rasi[]" value="26" <?php if(in_array("26",$id)) echo "checked";?>> உத்திரட்டாதி <br/> <input type="checkbox" name="expect_rasi[]" value="27" <?php if(in_array("27",$id)) echo "checked";?>> ரேவதி </div> </div> </div> </div> </div> </div> </div> <div class="row"> <div class="col-md-12 text-center col-md-offset-3" style="width:650px; margin-top:50px; margin-bottom:50px;"> <div class="form-group form-inline"style="margin-top:10px;"> <button type="submit" class="btn btn-primary btn-block">பதிவேற்று </button> <button type="reset" class="btn btn-primary btn-block">ரத்து செய் </button> </div> </form> <?php } ?> <!-- Data Tables Endsss Here --> </section> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.js"></script> <script> $(document).ready(function(){ get_subcaste(); $("#caste").change(function () { get_subcaste(); }); function get_subcaste(){ $('#subcaste').empty(); var caste_id=$('#caste').val(); console.log(district_id); var subcaste=$('#subcaste').val(); $.ajax({ url: 'apis/get-subcaste-api.php', type: 'post', dataType: 'json', data: {type:'get_subcaste',caste:caste}, success: function (response) { console.log(response); if(response['error']==false){ var m=''; for(var n=0;n<response['data'].length;n++){ if(response['data'][n]['id']==<?=$subcaste_id?>){ m+='<option value='+response['data'][n]['id']+' selected>'+response['data'][n]['name']+'</option>'; }else{ m+='<option value='+response['data'][n]['id']+'>'+response['data'][n]['name']+'</option>'; } } $('#subcaste').append(m); } } }); } }); </script> <script> $(document).ready(function() { $('#checkAll').click(function () { var d=$('#d').text(); if(d==''){ $('#d').text('checked'); $('.s').prop('checked',true); }else{ $('#d').text(''); console.log('un checked'); $('.s').prop('checked',false); } }); $('.checkboxs').on('click',function(){ console.log('clicked'); }); $('#print_lable').on('click',function(){ var checkValues = $('input[name=assign_ids]:checked').map(function(){ return $(this).val(); }).get(); if(checkValues != '' ){ var result = confirm("Conform Do You Want Print This id"); if (result) { window.open('profile-print.php?id='+checkValues, '_blank'); // window.location.href ="profile-print.php?id="+checkValues; //Logic to delete the item //console.log(checkValues); /* var ids=[]; ids = checkValues; $.ajax({ type: 'POST', url: 'story-details-soft-delete.php', data: {ids:ids}, success: function(response) { window.location.href ="story-details.php"; } });*/ } }else{ alert("Please Select Minimum One Product Lable"); } }); $image_crop = $('#image_demo').croppie({ enableExif: true, viewport: { width:500, height:600, type:'square' //circle }, boundary:{ width:500, height:600 } }); $('#upload_image').on('change', function(){ var reader = new FileReader(); reader.onload = function (event) { $image_crop.croppie('bind', { url: event.target.result }).then(function(){ console.log('jQuery bind complete'); }); } reader.readAsDataURL(this.files[0]); $('#uploadimageModal').modal('show'); }); $('.crop_image').click(function(event){ $image_crop.croppie('result', { type: 'canvas', size: 'viewport' }).then(function(response){ $.ajax({ url:"img-upload/upload.php", type: "POST", data:{"image": response}, success:function(data) { $('#uploadimageModal').modal('hide'); $('#uploaded_image').html(data); } }); }) }); }); </script> <!--<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.js"></script>--> <script> $(document).ready(function(){ $("#business_id").change(function(){ var val = $(this).val(); var section=`<div class="col-md-4"> <div class="form-group"> <label class="required" for="location">Select Account</label> <select name="account_name" class="form-control tip select2" id="account_name" required="required" multiple> <?php $statement_bro = $pdo->prepare("SELECT * FROM brokers"); $statement_bro->execute(); $location_result_bro = $statement_bro->fetchAll(PDO::FETCH_ASSOC); foreach ($location_result_bro as $result_bro) { echo "<option value=".$result_bro['id'].">".$result_bro['brokername']." - </option>"; }?> </select> </div> </div>`; console.log('BUSINESS CHANGE VALUE'+val); if(val=='0') { $('#append_account_name').empty(); }else if(val==''){ $('#append_account_name').empty(); }else if(val=='1'){ $('#append_account_name').empty(); $("#append_account_name").append(section); $('.select2').select2(); }else if(val=='2'){ $('#append_account_name').empty(); $("#append_account_name").append(section); $('.select2').select2(); } }); }); </script> <!-- Preference Update Ajax Starts Here --> <script> $('#preferance_add_update_form').on('submit', function(e){ // console.log("Click And Form Working"); e.preventDefault(); var formData = new FormData(this); formData.append('type', 'create_update_preferance'); $.ajax({ url: 'apis/preferance-create-update-api.php', type: 'post', dataType: 'json', data: formData, cache: false, contentType: false, processData: false, enctype: 'multipart/form-data', success: function (response) { console.log(response); /* if(response['status']==200){ alert(response['message']); $('#preferance_add_update_form').trigger("reset"); }else{ alert(response['message']); } */ } }); }); </script> <!-- Preference Update Ajax Ends Here --> <script> $(document).ready(function(){ $('input,textarea,.select2-input').on('keydown',function(event){ if(event.which==121){ $(this).toggleClass('tamil'); return false; } if($(this).hasClass('tamil')){ toggleKBMode(event); }else{ return true; } }); $('input,textarea,.select2-input').on('keypress',function(event){ if($(this).hasClass('tamil')){ convertThis(event); } }); }); </script> <?php include "footer.php"; ?> <script> $(document).ready(function(){ $('#filter_section').hide(); $('#show_filter').click(function(){ $("#filter_section").slideToggle(); return false; }); $('#filter_search').show(); $('#show_search').click(function(){ $("#filter_search").slideToggle(); return false; }); }); </script> <script> $(document).ready(function(){ // $("#business_id").change(function () { // alert("Changed!"); // $business_change=$("business_id").val(); // }); }); </script> <script> // $(document).ready(function(){ // profileIds(); // }) // function profileIds() { // $("#profiles_id").empty(); // var business_change = $("#business_id").val(); // var profile_id = $("#pro_id").val(); // $.ajax({ // type: 'POST', // url: 'apis/select_profile.php', // data: { type: 'businees', business_id: business_change,profile_id:profile_id}, // success: function(response) { // $("#profiles_id").append(response); // }, // }); // } </script> <script> $(function() { $('.datetimepicker').datetimepicker({format:'d-m-Y', timepicker:false}); }); $('#datetimepicker1').datetimepicker({ datepicker:false, format:'H:i' }); $(function() { $('#timepicker1').timepicker({ minuteStep: 1, template: 'modal', appendWidgetTo: 'body', showSeconds: true, showMeridian: true, defaultTime: false }); }); $(function() { // Initialize form validation on the registration form. // It has the name attribute "registration" $("#preferance_add_update_form").validate({ // Specify validation rules rules: { // The key name on the left side is the name attribute // of an input field. Validation rules are defined // on the right side regtype: "required", //gender: "required", regnop: "required", binit: "required", bname: "required", brokername:"required", //dinit: "required", //dname: "required", // cellno: "required", //regdate: "required", dob: "required", /* day: "required", time: "required", meridian: "required",*/ // tyear: "required", // tdate: "required", // month: "required", /* height: "required", color: "required", marriage: "required",*/ native_place: "required", /*birth_place: "required",*/ father_name: "required", /* father_dname: "required",*/ mother_name: "required", /* mother_dname: "required", wealth_class: "required", with_birth: "required",*/ caste: "required", edu:"required", /* subcaste: "required", ancestry: "required", family_god: "required",*/ natchatram: "required", /* padham: "required", laknam: "required", rasi: "required", dhisa: "required", dyears: "required", dmonth: "required", ddays: "required", address: "required", email: { required: true, // Specify that email should be validated // by the built-in "email" rule email: true },*/ }, // Specify validation error messages messages: { regtype: "* தேவையான தகவலை உள்ளிடவும்.", regnop: "* தேவையான தகவலை உள்ளிடவும்.", binit: "* தேவையான தகவலை உள்ளிடவும்.", bname: "* தேவையான தகவலை உள்ளிடவும்.", brokername:"* தேவையான தகவலை உள்ளிடவும்.", // cellno: "* தேவையான தகவலை உள்ளிடவும்.", dob: "* தேவையான தகவலை உள்ளிடவும்.", /* day: "* தேவையான தகவலை உள்ளிடவும்.", time: "* தேவையான தகவலை உள்ளிடவும்.", meridian: "* தேவையான தகவலை உள்ளிடவும்.",*/ edu: "* தேவையான தகவலை உள்ளிடவும்.", native_place: "* தேவையான தகவலை உள்ளிடவும்.", father_name: "* தேவையான தகவலை உள்ளிடவும்.", mother_name: "* தேவையான தகவலை உள்ளிடவும்.", caste: "* தேவையான தகவலை உள்ளிடவும்.", natchatram: "* தேவையான தகவலை உள்ளிடவும்.", }, // Make sure the form is submitted to the destination defined // in the "action" attribute of the form when valid submitHandler: function(form) { form.submit(); } }); }); /*$(document).ready(function() { $('#casteform').bootstrapValidator({ feedbackIcons: { valid: 'glyphicon glyphicon-ok', invalid: 'glyphicon glyphicon-remove', validating: 'glyphicon glyphicon-refresh' }, fields: { caste_name: { validators: { notEmpty: { message: 'The username is required' } } } } }); }); $(document).ready(function() { $('#casteform').bootstrapValidator({excluded: [':disabled']}); }); */ $(function() { $("#bname").autocomplete({ source: "search.php?field=bname", appendTo: $("#bname").parent(), select: function( event, ui ) { event.preventDefault(); $("#bname").val(ui.item.value); } }); $("#dname").autocomplete({ source: "search.php?field=dname", appendTo: $("#dname").parent(), select: function( event, ui ) { event.preventDefault(); $("#dname").val(ui.item.value); } }); $("#caste").autocomplete({ source: "search.php?field=caste", appendTo: $("#caste").parent(), select: function( event, ui ) { event.preventDefault(); $("#caste").val(ui.item.value); $("#casteid").val(ui.item.id); //alert($("#casteid").val()); } }); if($("#caste").val()=="") { var mcaste = $("#casteid").val(); //alert(mcaste); } //$("#caste").change(resetAutocomplete); /*function resetAutocomplete() { alert("lkdasf"); $("#subcaste").autocomplete("destroy"); $("#subcaste").autocomplete({ source: "search.php?field=subcaste&c=" + $("#casteid").val(), appendTo: $("#subcaste").parent(), select: function( event, ui ) { event.preventDefault(); $("#subcaste").val(ui.item.value); $("#subcasteid").val(ui.item.id); //alert(ui.item.value); //alert(ui.item.id); } }); }*/ /* $("#subcaste").autocomplete({ source: "search.php?field=subcaste&cid=" + $("#casteid").val(), appendTo: $("#subcaste").parent(), select: function( event, ui ) { event.preventDefault(); $("#subcaste").val(ui.item.value); $("#subcasteid").val(ui.item.id); //alert(ui.item.value); //alert(ui.item.id); } }); */ /*$("#subcaste").autocomplete({ source: function(request, response) { $.ajax({ url: "search.php?field=subcaste", dataType: "json", data: { term : request.term, cid : $("#casteid").val() }, success: function(data) { response(data); } }); }, appendTo: $("#subcaste").parent(), min_length: 3, delay: 300 });*/ $( "#subcaste" ).autocomplete({ source: function(request, response) { $.ajax({ url: "search.php?field=subcaste", dataType: "json", data: { term : request.term, cid : $("#casteid").val() }, success: function(data) { //alert(data); response(data); } }); }, appendTo: $("#subcaste").parent(), minLength:0 }).bind('focus', function(){ $(this).autocomplete("search"); } ); /*$("#brokername").autocomplete({ source: function(request, response) { $.ajax({ url: "search.php?field=broker", dataType: "json", data: { term : request.term, cid : $("#casteid").val() }, success: function(data) { response(data); } }); }, appendTo: $("#subcaste").parent(), min_length: 3, delay: 300 }); */ $("#brokername").autocomplete({ source: "search.php?field=brokername", appendTo: $("#brokername").parent(), select: function( event, ui ) { event.preventDefault(); $("#brokername").val(ui.item.value); } }); /*$("#brokername").autocomplete({ // source: "search.php?field=brokername", /* select: function( event, ui ) { event.preventDefault(); //alert(ui.item.value); $("#brokername").val(ui.item.value); }, source: function( request, response ) { // delegate back to autocomplete, but extract the last term $.ajax({ url: "search.php?field=brokername", dataType: "json", data: { term : extractLast(request.term), //cid : $("#casteid").val() }, success: function(data) { //alert(data); response(data); } }); }, appendTo: $("#brokername").parent(), focus: function() { // prevent value inserted on focus return false; }, select: function( event, ui ) { var terms = split( this.value ); //alert(ui.item.value); // remove the current input terms.pop(); // add the selected item terms.push( ui.item.value ); // add placeholder to get the comma-and-space at the end terms.push( "" ); $("#brokername").val(terms.join( ", " )); return false; } });*/ /*$("input[name*='brokername']").autocomplete({ source: "search.php?field=brokername", appendTo: $(this).parent(), select: function( event, ui ) { //alert(""); event.preventDefault(); //alert(ui.item.value); $(this).val(ui.item.value); }, */ /*source: function( request, response ) { // delegate back to autocomplete, but extract the last term $.ajax({ url: "search.php?field=brokername", dataType: "json", data: { term : extractLast(request.term), //cid : $("#casteid").val() }, success: function(data) { //alert(data); response(data); } }); }, appendTo: $("#brokername").parent(), focus: function() { // prevent value inserted on focus return false; }, select: function( event, ui ) { var terms = split( this.value ); //alert(ui.item.value); // remove the current input terms.pop(); // add the selected item terms.push( ui.item.value ); // add placeholder to get the comma-and-space at the end terms.push( "" ); $("#brokername").val(terms.join( ", " )); return false; } });*/ var options = { source: "search.php?field=brokername", appendTo: $(this).parent(), select: function( event, ui ) { event.preventDefault(); //alert(ui.item.value); $(this).val(ui.item.value); } }; var selector = 'input.bn'; $(document).on('keyup focus', selector, function() { $(this).autocomplete(options); }); $("#father_name").autocomplete({ source: "search.php?field=father_name", appendTo: $("#fathername").parent(), select: function( event, ui ) { event.preventDefault(); $("#father_name").val(ui.item.value); } }); $("#father_dname").autocomplete({ source: "search.php?field=father_dname", appendTo: $("#father_dname").parent(), select: function( event, ui ) { event.preventDefault(); $("#father_dname").val(ui.item.value); } }); $("#mother_name").autocomplete({ source: "search.php?field=mother_name", appendTo: $("#mother_name").parent(), select: function( event, ui ) { event.preventDefault(); $("#mother_name").val(ui.item.value); } }); $("#mother_dname").autocomplete({ source: "search.php?field=mother_dname", appendTo: $("#mother_dname").parent(), select: function( event, ui ) { event.preventDefault(); $("#mother_dname").val(ui.item.value); } }); $("#ancestry").autocomplete({ source: "search.php?field=ancestry", appendTo: $("#ancestry").parent(), select: function( event, ui ) { event.preventDefault(); $("#ancestry").val(ui.item.value); } }); $("#edu").autocomplete({ source: "search.php?field=edu", appendTo: $("#edu").parent(), select: function( event, ui ) { event.preventDefault(); $("#edu").val(ui.item.value); } }); $("#job").autocomplete({ source: "search.php?field=job", appendTo: $("#job").parent(), select: function( event, ui ) { event.preventDefault(); $("#job").val(ui.item.value); } }); $("#tyear").autocomplete({ source: "search.php?field=tyear", appendTo: $("#tyear").parent(), select: function( event, ui ) { event.preventDefault(); $("#tyear").val(ui.item.value); } }); $("#family_god").autocomplete({ source: "search.php?field=family_god", appendTo: $("#family_god").parent(), select: function( event, ui ) { event.preventDefault(); $("#family_god").val(ui.item.value); } }); }); // Add Record function addRecord() { // get values var caste_name = $("#caste_name").val(); // Add record $.post("addRecord.php", { caste_name: caste_name, }, function (data, status) { // close the popup $("#add_caste").modal("hide"); // read records again // readRecords(); // clear fields from the popup $("#caste_name").val(""); }); } function insertData() { var caste_name=$("#caste_name").val(); // AJAX code to send data to php file. $.ajax({ type: "POST", url: "addRecord.php", data: {caste_name:caste_name}, dataType: "JSON", success: function(data) { $("#message").html(data); $("p").addClass("alert alert-success"); }, error: function(err) { alert(err); } }); } // READ records function readRecords() { $.get("ajax/readRecord.php", {}, function (data, status) { $(".records_content").html(data); }); } $("#mar1").click(function(){ $(".childdiv").css({"display":"none"}); }); $("#mar2").click(function(){ $(".childdiv").css({"display":"block"}); }); function readURL(input) { if (input.files && input.files[0]) { var reader = new FileReader(); reader.onload = function (e) { $('#uploaded_image') .attr('src', e.target.result) .width(205) .height(515); }; reader.readAsDataURL(input.files[0]); } } function split( val ) { return val.split( /,\s*/ ); } function extractLast( term ) { return split( term ).pop(); } $('.add').click(function() { $('.block:last').before('<div class="block"><label for="selector1" class="control-label pull-left">புரோக்கர் பெயர் : </label><select name="brokertype[]" id="brokertype" class="form-control pull-left english" style="clear:both;width:60px; margin-left:0px; font-weight:bold; font-size:20px; height:40px;margin-top:0px;"><option value=""></option><option>N</option><option>I</option></select><input type="text" name="brokername[]" id="brokername" charset="utf-8" class="form-control pull-left tamil bn" style="margin-left: 10px;width:84%;height:40px; word-wrap:break-word;" onKeyPress="javascript:convertThis(event)" onKeyDown="toggleKBMode(event)"/><input type="checkbox" name="is_phone[]" value="1" class="pull-left" style="margin-top:15px;"/> <label for="selector1" class="control-label pull-left" style="width: 70%;margin-top:10px;">போன் நம்பர்</label><label for="selector1" class="control-label pull-left" style=" margin-left:25px;margin-top:10px;">பதிவு எண்</label><input type="text" name="profid[]" class="pull-left" style="width:230px; height:40px; word-wrap:break-word; margin-left:15px;margin-top:10px;"/><span class="remove"><i class="fa fa-times-circle-o" style="color:green; font-size:30px; float:left; padding-left:10px;vertical-align:middle;padding-top:15px;"></i></span></div>'); }); $('body').on('click', '.remove', function () { // use event delegation because you're adding to the DOM $(this).parent('.block').remove(); }); function removeimg() { $("#photosel").removeAttr('src'); // $("#photosel").removeAttr('src'); //$(this).remove(); } </script> <script> $(document).ready(function(){ if ($('.p_1').is(':checked')) { $('.p_1').click(); } if ($('.p_2').is(':checked')) { $('.p_2').click(); } if ($('.p_3').is(':checked')) { $('.p_3').click(); } if ($('.p_4').is(':checked')) { $('.p_4').click(); } if ($('.p_5').is(':checked')) { $('.p_5').click(); } if ($('.p_6').is(':checked')) { $('.p_6').click(); } if ($('.p_7').is(':checked')) { $('.p_7').click(); } if ($('.p_8').is(':checked')) { $('.p_8').click(); } if ($('.p_9').is(':checked')) { $('.p_9').click(); } if ($('.p_10').is(':checked')) { $('.p_10').click(); } if ($('.p_11').is(':checked')) { $('.p_11').click(); } if ($('.p_12').is(':checked')) { $('.p_12').click(); } if ($('.n_1').is(':checked')) { $('.n_1').click(); } if ($('.n_2').is(':checked')) { $('.n_2').click(); } if ($('.n_3').is(':checked')) { $('.n_3').click(); } if ($('.n_4').is(':checked')) { $('.n_4').click(); } if ($('.n_5').is(':checked')) { $('.n_5').click(); } if ($('.n_6').is(':checked')) { $('.n_6').click(); } if ($('.n_7').is(':checked')) { $('.n_7').click(); } if ($('.n_8').is(':checked')) { $('.n_8').click(); } if ($('.n_9').is(':checked')) { $('.n_9').click(); } if ($('.n_10').is(':checked')) { $('.n_10').click(); } if ($('.n_11').is(':checked')) { $('.n_11').click(); } if ($('.n_12').is(':checked')) { $('.n_12').click(); } }); $('.p_1').click(function(){ $('.1').html(1); $('.2').html(2); $('.3').html(3); $('.4').html(4); $('.5').html(5); $('.6').html(6); $('.7').html(7); $('.8').html(8); $('.9').html(9); $('.10').html(10); $('.11').html(11); $('.12').html(12); }) $('.p_2').click(function(){ $('.1').html(12); $('.2').html(1); $('.3').html(2); $('.4').html(3); $('.5').html(4); $('.6').html(5); $('.7').html(6); $('.8').html(7); $('.9').html(8); $('.10').html(9); $('.11').html(10); $('.12').html(11); }); $('.p_3').click(function(){ $('.1').html(11); $('.2').html(12); $('.3').html(1); $('.4').html(2); $('.5').html(3); $('.6').html(4); $('.7').html(5); $('.8').html(6); $('.9').html(7); $('.10').html(8); $('.11').html(9); $('.12').html(10); }); $('.p_4').click(function(){ $('.1').html(10); $('.2').html(11); $('.3').html(12); $('.4').html(1); $('.5').html(2); $('.6').html(3); $('.7').html(4); $('.8').html(5); $('.9').html(6); $('.10').html(7); $('.11').html(8); $('.12').html(9); }); $('.p_5').click(function(){ $('.1').html(9); $('.2').html(10); $('.3').html(11); $('.4').html(12); $('.5').html(1); $('.6').html(2); $('.7').html(3); $('.8').html(4); $('.9').html(5); $('.10').html(6); $('.11').html(7); $('.12').html(8); }); $('.p_6').click(function(){ $('.1').html(8); $('.2').html(9); $('.3').html(10); $('.4').html(11); $('.5').html(12); $('.6').html(1); $('.7').html(2); $('.8').html(3); $('.9').html(4); $('.10').html(5); $('.11').html(6); $('.12').html(7); }); $('.p_7').click(function(){ $('.1').html(7); $('.2').html(8); $('.3').html(9); $('.4').html(10); $('.5').html(11); $('.6').html(12); $('.7').html(1); $('.8').html(2); $('.9').html(3); $('.10').html(4); $('.11').html(5); $('.12').html(6); }); $('.p_8').click(function(){ $('.1').html(6); $('.2').html(7); $('.3').html(8); $('.4').html(9); $('.5').html(10); $('.6').html(11); $('.7').html(12); $('.8').html(1); $('.9').html(2); $('.10').html(3); $('.11').html(4); $('.12').html(5); }); $('.p_9').click(function(){ $('.1').html(5); $('.2').html(6); $('.3').html(7); $('.4').html(8); $('.5').html(9); $('.6').html(10); $('.7').html(11); $('.8').html(12); $('.9').html(1); $('.10').html(2); $('.11').html(3); $('.12').html(4); }); $('.p_10').click(function(){ $('.1').html(4); $('.2').html(5); $('.3').html(6); $('.4').html(7); $('.5').html(8); $('.6').html(9); $('.7').html(10); $('.8').html(11); $('.9').html(12); $('.10').html(1); $('.11').html(2); $('.12').html(3); }); $('.p_11').click(function(){ $('.1').html(3); $('.2').html(4); $('.3').html(5); $('.4').html(6); $('.5').html(7); $('.6').html(8); $('.7').html(9); $('.8').html(10); $('.9').html(11); $('.10').html(12); $('.11').html(1); $('.12').html(2); }); $('.p_12').click(function(){ $('.1').html(2); $('.2').html(3); $('.3').html(4); $('.4').html(5); $('.5').html(6); $('.6').html(7); $('.7').html(8); $('.8').html(9); $('.9').html(10); $('.10').html(11); $('.11').html(12); $('.12').html(1); }); $('.n_1').click(function(){ $('.a_1').html(1); $('.a_2').html(2); $('.a_3').html(3); $('.a_4').html(4); $('.a_5').html(5); $('.a_6').html(6); $('.a_7').html(7); $('.a_8').html(8); $('.a_9').html(9); $('.a_10').html(10); $('.a_11').html(11); $('.a_12').html(12); }) $('.n_2').click(function(){ $('.a_1').html(12); $('.a_2').html(1); $('.a_3').html(2); $('.a_4').html(3); $('.a_5').html(4); $('.a_6').html(5); $('.a_7').html(6); $('.a_8').html(7); $('.a_9').html(8); $('.a_10').html(9); $('.a_11').html(10); $('.a_12').html(11); }); $('.n_3').click(function(){ $('.a_1').html(11); $('.a_2').html(12); $('.a_3').html(1); $('.a_4').html(2); $('.a_5').html(3); $('.a_6').html(4); $('.a_7').html(5); $('.a_8').html(6); $('.a_9').html(7); $('.a_10').html(8); $('.a_11').html(9); $('.a_12').html(10); }); $('.n_4').click(function(){ $('.a_1').html(10); $('.a_2').html(11); $('.a_3').html(12); $('.a_4').html(1); $('.a_5').html(2); $('.a_6').html(3); $('.a_7').html(4); $('.a_8').html(5); $('.a_9').html(6); $('.a_10').html(7); $('.a_11').html(8); $('.a_12').html(9); }); $('.n_5').click(function(){ $('.a_1').html(9); $('.a_2').html(10); $('.a_3').html(11); $('.a_4').html(12); $('.a_5').html(1); $('.a_6').html(2); $('.a_7').html(3); $('.a_8').html(4); $('.a_9').html(5); $('.a_10').html(6); $('.a_11').html(7); $('.a_12').html(8); }); $('.n_6').click(function(){ $('.a_1').html(8); $('.a_2').html(9); $('.a_3').html(10); $('.a_4').html(11); $('.a_5').html(12); $('.a_6').html(1); $('.a_7').html(2); $('.a_8').html(3); $('.a_9').html(4); $('.a_10').html(5); $('.a_11').html(6); $('.a_12').html(7); }); $('.n_7').click(function(){ $('.a_1').html(7); $('.a_2').html(8); $('.a_3').html(9); $('.a_4').html(10); $('.a_5').html(11); $('.a_6').html(12); $('.a_7').html(1); $('.a_8').html(2); $('.a_9').html(3); $('.a_10').html(4); $('.a_11').html(5); $('.a_12').html(6); }); $('.n_8').click(function(){ $('.a_1').html(6); $('.a_2').html(7); $('.a_3').html(8); $('.a_4').html(9); $('.a_5').html(10); $('.a_6').html(11); $('.a_7').html(12); $('.a_8').html(1); $('.a_9').html(2); $('.a_10').html(3); $('.a_11').html(4); $('.a_12').html(5); }); $('.n_9').click(function(){ $('.a_1').html(5); $('.a_2').html(6); $('.a_3').html(7); $('.a_4').html(8); $('.a_5').html(9); $('.a_6').html(10); $('.a_7').html(11); $('.a_8').html(12); $('.a_9').html(1); $('.a_10').html(2); $('.a_11').html(3); $('.a_12').html(4); }); $('.n_10').click(function(){ $('.a_1').html(4); $('.a_2').html(5); $('.a_3').html(6); $('.a_4').html(7); $('.a_5').html(8); $('.a_6').html(9); $('.a_7').html(10); $('.a_8').html(11); $('.a_9').html(12); $('.a_10').html(1); $('.a_11').html(2); $('.a_12').html(3); }); $('.n_11').click(function(){ $('.a_1').html(3); $('.a_2').html(4); $('.a_3').html(5); $('.a_4').html(6); $('.a_5').html(7); $('.a_6').html(8); $('.a_7').html(9); $('.a_8').html(10); $('.a_9').html(11); $('.a_10').html(12); $('.a_11').html(1); $('.a_12').html(2); }); $('.n_12').click(function(){ $('.a_1').html(2); $('.a_2').html(3); $('.a_3').html(4); $('.a_4').html(5); $('.a_5').html(6); $('.a_6').html(7); $('.a_7').html(8); $('.a_8').html(9); $('.a_9').html(10); $('.a_10').html(11); $('.a_11').html(12); $('.a_12').html(1); }); </script>