<?php include './admin/config.php'; include './admin/db_connection.php'; $Super = getSuperCategory(); if(isset($_REQUEST['forgot_submit'])) { //print_r($_REQUEST); $emailid= mysql_real_escape_string($_POST['email_id']); $check_user_count = mysql_query("select * from sohorepro_customers where cus_email='".$emailid."' "); if(mysql_num_rows($check_user_count)>0) { $check_fth_user = mysql_fetch_array($check_user_count); $message = '<link href="mail_css.css" media="screen" rel="stylesheet" type="text/css" />'; $message .= '<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">'; $message .= '<table width="550" border="0" cellspacing="0" cellpadding="0">'; $message .= '<tr bgcolor="#ff7e00">'; $message .= '<td width="10" height="10" align="left" valign="top"></td>'; $message .= '<td height="10" align="left" valign="top"></td>'; $message .= '<td width="10" height="10" align="left" valign="top"></td>'; $message .= '</tr>'; $message .= '<tr>'; $message .= '<td width="10" align="left" valign="top" bgcolor="#ff7e00"></td>'; $message .= '<td align="left" valign="top"><table width="530" border="0" cellspacing="0" cellpadding="0">'; $message .= '<tr>'; $message .= '<td width="20" height="20" align="left" valign="top"></td>'; $message .= '<td height="20" align="left" valign="top"></td>'; $message .= '<td width="20" height="20" align="left" valign="top"></td>';
<?php include './config.php'; include './auth.php'; $sort_c = ($_REQUEST['sort'] == 'ca') ? 'cd' : 'ca'; $sort_c_img = ($_REQUEST['sort'] == 'ca') ? 'down' : 'up'; $Category = getSuperCategory($_REQUEST['sort']); if ($_GET['delete_id']) { $delete_id = $_GET['delete_id']; $sql = "DELETE FROM sohorepro_category WHERE id = " . $delete_id . " "; $sql_result = mysql_query($sql); if ($sql_result) { $result = "success_del"; } else { $result = "failure_del"; } } ?> <?php if ($_REQUEST['new_cat'] == '1') { extract($_POST); $sql_order_id = mysql_query("SELECT id FROM sohorepro_category WHERE parent_id = '0' AND super_id = '0' ORDER BY id DESC LIMIT 1"); $object = mysql_fetch_assoc($sql_order_id); if (count($object['id']) > 0) { $sort_id = ($object['id'] + 1); } else {
<?php include './admin/config.php'; include './admin/db_connection.php'; include './admin/include/class.phpmailer.php'; include './admin/mail_template.php'; if(isset($_REQUEST['login_submit'])) { unset($_SESSION['sohorepro_userid']); unset($_SESSION['sohorepro_companyid']); unset($_SESSION['sohorepro_username']); $emailid= mysql_real_escape_string($_POST['email_id']); $pass= mysql_real_escape_string($_POST['password']); $rememberme= mysql_real_escape_string($_POST['rememberme']); $user_login = UserLogin($emailid,$pass); $chk_cus_status = CheckCusStatus($user_login[0]['cus_compname']); // echo '<pre>'; // print_r($user_login); // echo '</pre>'; // exit; // // // // foreach ($user_login as $login_pre){ // $check_status[] = StatusCheckComp($login_pre['cus_compname']); // } // //
$cumpony_id = $fth_userss['comp_id']; $company_name = $fth_userss['comp_name']; $rowColor = $i % 2 != 0 ? '#dfdfdf' : '#eeeeee'; $rowColor1 = $i % 2 != 0 ? '#eeeeee' : '#f6f2f2'; $status = $fth_userss['cus_status'] == 1 ? 'active' : 'de-active'; $cus_email = $fth_userss['cus_email']; $cus_regdate = date("m-d-Y", strtotime($fth_userss['cus_regdate'])); $user_name = $fth_userss['cus_fname']; $user_phone = $fth_userss['cus_contact_phone']; $user_fname = $fth_userss['cus_fname']; $user_lname = $fth_userss['cus_lname']; $user_address1 = $fth_userss['cus_bill_address1']; $user_address2 = $fth_userss['cus_bill_address2']; $user_room = $fth_userss['cus_bill_room']; $tax = $fth_userss['cus_tax_exe'] == 1 ? 'Yes' : 'No'; $Super = getSuperCategory($sorting); ?> <tr class="trigger" id="<?php echo $id; ?> "> <td width="49" align="center" valign="middle" bgcolor="<?php echo $rowColor; ?> " class="pad_btm"><?php echo $i; ?> </td> <td width="100" align="center" valign="middle" bgcolor="<?php echo $rowColor1;