<div class="orthogroup">D Price</div> <div class="orthogroup">F Cost</div> <div class="orthogroup">F Price</div> <div class="orthogroup">A Cost</div> <div class="orthogroup">A Price</div> <div class="orthogroup">Update/Delete</div> </div> <?php $query = mysql_query("SELECT * FROM `admin_billing`") or die(mysql_error()); $ij = 1; while ($row = mysql_fetch_array($query)) { ?> <div class="log_row"> <div class="type"><?php $designation = $row['user_desig']; echo $desg->GetDesgBydesId($designation); ?> </div> <div class="provider"><?php $uid = $row['id']; echo ucwords($desg->GetObjectById($uid, "first_name")) . " " . ucwords($desg->GetObjectById($uid, "last_name")); ?> </div> <div class="cpt_code"><?php echo $cptcCode = $row['cpt_code']; ?> </div> <div class="description"><?php echo $row['description']; ?> </div>
</div> <div class="hire_right"> <div class="dashboard_row"> <label>Message</label> <textarea name="hire_message"></textarea> </div> <div class="dashboard_row"> <input type="submit" name="hire_button" id="" value="Submit"/> </div> </div> </form> <?php $date_time = date("Y-m-d H:i:s a"); if (isset($_POST['hire_button'])) { $desgntn = $_REQUEST['desgntn']; $getname = $getinformation->GetDesgBydesId($desgntn); /*client info*/ $user_id_req = $_REQUEST['uid']; $fname = $getinformation->GetObjectById($user_id_req, "first_name"); $lname = $getinformation->GetObjectById($user_id_req, "last_name"); $c_email_id = $getinformation->GetObjectById($user_id_req, "email_id"); $contact_cl = $getinformation->GetObjectById($user_id_req, "email_id"); /*end*/ /*Hire information*/ $hire_id = $_REQUEST['user_details']; $h_f_name = $getinformation->GetObjectById($hire_id, "first_name"); $l_f_name = $getinformation->GetObjectById($hire_id, "last_name"); $s_email_id = $getinformation->GetObjectById($hire_id, "email_id"); $s_email_id = $getinformation->GetObjectById($hire_id, "email_id"); $contact_h = $getinformation->GetObjectById($hire_id, "email_id"); /*End*/
</div> </form> <script type="text/javascript"> $(document).ready(function() { $('#deletestaff').click(function() { return confirm('Are You Sure?'); }); }); </script> <?php $date_time = date("Y-m-d H:i:s a"); if (isset($_POST['hire_button'])) { $desgntn = $_REQUEST['desgntn']; $getname = $getinformation->GetDesgBydesId($desgntn); /*client info*/ $user_id_req = $_REQUEST['uid']; $fname = $getinformation->GetObjectById($user_id_req, "first_name"); $lname = $getinformation->GetObjectById($user_id_req, "last_name"); $c_email_id = $getinformation->GetObjectById($user_id_req, "email_id"); $contact_cl = $getinformation->GetObjectById($user_id_req, "email_id"); /*end*/ /*Hire information*/ $hire_id = $_REQUEST['user_details']; $h_f_name = $getinformation->GetObjectById($hire_id, "first_name"); $l_f_name = $getinformation->GetObjectById($hire_id, "last_name"); $s_email_id = $getinformation->GetObjectById($hire_id, "email_id"); $s_email_id = $getinformation->GetObjectById($hire_id, "email_id"); $contact_h = $getinformation->GetObjectById($hire_id, "email_id"); /*End*/