Пример #1
0
include_once 'db_config/db_order_payment.php';
include_once 'db_config/db_user_transaction.php';
include_once 'db_config/db_review.php';
$trans = new trans();
$review = new review();
$rs_trans = $trans->uniq_trans_list('user_id', $_SESSION['user_id']);
$data_trans = mysql_fetch_array($rs_trans);
$rs_trans_sum_pending_fund = $trans->sum_trans('pending_fund', $_SESSION['user_id']);
$data_trans_sum_pending_fund = mysql_fetch_array($rs_trans_sum_pending_fund);
$rs_trans_sum_withdraw = $trans->sum_trans('withdraw_request_ammount', $_SESSION['user_id']);
$data_trans_sum_withdraw = mysql_fetch_array($rs_trans_sum_withdraw);
$data_trans = mysql_fetch_array($rs_trans);
//echo $data_trans['pending_fund'];
$user = new user();
$gigs = new gigs();
$order_payment = new order_payment();
if ($_REQUEST['st']) {
    $rs = $order_payment->uniq_order_payment_list_double('buyer_id', $_SESSION['user_id'], 'order_status', $_REQUEST['st']);
} else {
    $rs = $order_payment->uniq_order_payment_list('buyer_id', $_SESSION['user_id']);
}
$rs_review_list_by = $review->review_list("review_by", $_SESSION['user_id']);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title><?php 
echo SITE_TITLE;
?>
</title>
Пример #2
0
include_once 'db_config/db_gigs.php';
include_once 'db_config/db_user.php';
include_once 'db_config/db_order_payment.php';
include_once 'db_config/db_user_transaction.php';
$trans = new trans();
$rs_trans = $trans->uniq_trans_list('user_id', $_SESSION['user_id']);
$data_trans = mysql_fetch_array($rs_trans);
$rs_trans_sum_pending_fund = $trans->sum_trans('pending_fund', $_SESSION['user_id']);
$data_trans_sum_pending_fund = mysql_fetch_array($rs_trans_sum_pending_fund);
$rs_trans_sum_withdraw = $trans->sum_trans('withdraw_request_ammount', $_SESSION['user_id']);
$data_trans_sum_withdraw = mysql_fetch_array($rs_trans_sum_withdraw);
$data_trans = mysql_fetch_array($rs_trans);
//echo $data_trans['pending_fund'];
$user = new user();
$gigs = new gigs();
$order_payment = new order_payment();
$rs = $order_payment->uniq_order_payment_list('buyer_id', $_SESSION['user_id']);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title><?php 
echo SITE_TITLE;
?>
</title>
<link href="css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="javascript/jquery.min.js"></script>
<script type="text/javascript" src="javascript/jquery.simplemodal.js"></script>
<script type="text/javascript" src="javascript/init.js"></script>
<script type="text/javascript" src="javascript/init1.js"></script>
Пример #3
0
<?php

session_start();
include_once 'config/db_conn.php';
include_once 'db_config/db_delivered.php';
include_once 'db_config/db_order_payment.php';
$order_payment = new order_payment();
$delivered = new delivered();
$orderid = base64_decode($_REQUEST['orderid']);
if ($_REQUEST['submit']) {
    $data = array("order_id" => $orderid, "message" => $_REQUEST['message'], "attachment" => date("ymdhi") . $_FILES['attach']['name']);
    //	$_FILES['attach']['name'];
    $rs_delivered = $delivered->dataInsert('ninerr_delivered', $data);
    $dataArray = array("order_status" => "compleated");
    $fldArray = array("order_id" => $orderid);
    $order_payment->dataUpdate("ninerr_order_payment", $dataArray, $fldArray);
    $fileName = $_FILES['attach']['name'];
    $fileSize = '2000';
    $fileTempName = $_FILES['attach']['tmp_name'];
    $folderPath = 'attach';
    $oldfileName = '';
    fileUpload($fileName, $oldfileName, $fileSize, $fileTempName, $folderPath, $maxSize = 5242880);
    reDirect('manage_order.php');
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title><?php 
echo SITE_TITLE;
Пример #4
0
<?php

include_once 'config/db_conn.php';
include_once 'db_config/db_gigs.php';
include_once 'db_config/db_order_payment.php';
include_once 'db_config/db_user.php';
$user = new user();
$order_payment = new order_payment();
$rs_order = $order_payment->uniq_order_payment_list('order_id', $_REQUEST['id']);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Orders - Admin</title>
<link rel="stylesheet" type="text/css" href="css/theme.css" />
<link rel="stylesheet" type="text/css" href="css/style.css" />
<script>
   var StyleFile = "theme" + document.cookie.charAt(6) + ".css";
   document.writeln('<link rel="stylesheet" type="text/css" href="css/' + StyleFile + '">');
</script>
<!--[if IE]>
<link rel="stylesheet" type="text/css" href="css/ie-sucks.css" />
<![endif]-->
</head>

<body>
<div id="a">
    	
  <div id="wrapper">
            <div id="content">
Пример #5
0
include_once 'db_config/db_gigs.php';
include_once 'db_config/db_user.php';
include_once 'db_config/db_order_payment.php';
include_once 'db_config/db_user_transaction.php';
$trans = new trans();
$rs_trans = $trans->uniq_trans_list('user_id', $_SESSION['user_id']);
$data_trans = mysql_fetch_array($rs_trans);
$rs_trans_sum_pending_fund = $trans->sum_trans('pending_fund', $_SESSION['user_id']);
$data_trans_sum_pending_fund = mysql_fetch_array($rs_trans_sum_pending_fund);
$rs_trans_sum_withdraw = $trans->sum_trans('withdraw_request_ammount', $_SESSION['user_id']);
$data_trans_sum_withdraw = mysql_fetch_array($rs_trans_sum_withdraw);
$data_trans = mysql_fetch_array($rs_trans);
//echo $data_trans['pending_fund'];
$user = new user();
$gigs = new gigs();
$order_payment = new order_payment();
$rs = $order_payment->uniq_order_payment_list_double('buyer_id', $_SESSION['user_id'], 'order_id', $_REQUEST['orderid']);
$data = mysql_fetch_array($rs);
if ($_REQUEST['orderid'] == '') {
    reDirect('manage_order.php');
}
if ($_REQUEST['submit']) {
    $table = "ninerr_order_payment";
    $dataArray = array("order_status" => $_REQUEST['order_status']);
    $fldArray = array("order_id" => $_REQUEST['orderid']);
    $order_payment->dataUpdate($table, $dataArray, $fldArray);
    reDirect('manage_order.php');
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
Пример #6
0
<?php

session_start();
include_once 'config/db_conn.php';
include_once 'db_config/db_gigs.php';
include_once 'db_config/db_user.php';
include_once 'db_config/db_order_payment.php';
$user = new user();
$gigs = new gigs();
$rs_gigs = $gigs->uniq_gigs_list('gigs_title', $_POST['item_name']);
$data_gigs = mysql_fetch_array($rs_gigs);
$order_payment = new order_payment();
if ($_POST) {
    $array_1 = array("seller_id" => $data_gigs['user_id'], "buyer_id" => $_SESSION['user_id'], "order_status_date" => date('Y:m:d'));
    $array_m = array_merge($array_1, $_POST);
    $order_payment->dataInsert('ninerr_order_payment', $array_m);
}
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title><?php 
echo SITE_TITLE;
?>
</title>
<link href="css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="javascript/jquery.min.js"></script>
<script type="text/javascript" src="javascript/jquery.simplemodal.js"></script>
<script type="text/javascript" src="javascript/init.js"></script>
Пример #7
0
include_once 'db_config/db_user_transaction.php';
$trans = new trans();
$rs_trans = $trans->uniq_trans_list('user_id', $_SESSION['user_id']);
//$data_trans=mysql_fetch_array($rs_trans);
$rs_trans_sum_pending_fund = $trans->sum_trans('pending_fund', $_SESSION['user_id']);
$data_trans_sum_pending_fund = mysql_fetch_array($rs_trans_sum_pending_fund);
$rs_trans_sum_clear_fund = $trans->sum_trans1('cleader_fund', $_SESSION['user_id']);
$data_trans_sum_clear_fund = mysql_fetch_array($rs_trans_sum_clear_fund);
$rs_trans_sum_withdraw = $trans->sum_trans('withdraw_request_ammount', $_SESSION['user_id']);
$data_trans_sum_withdraw = mysql_fetch_array($rs_trans_sum_withdraw);
$data_trans = mysql_fetch_array($rs_trans);
//echo $data_trans['cleader_fund'];
//echo $data_trans_sum_clear_fund['sum'];
$user = new user();
$gigs = new gigs();
$order_payment = new order_payment();
$rs = $order_payment->uniq_order_payment_list_double('seller_id', $_SESSION['user_id'], "order_status", "compleated");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title><?php 
echo SITE_TITLE;
?>
</title>
<link href="css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="javascript/jquery.min.js"></script>
<script type="text/javascript" src="javascript/jquery.simplemodal.js"></script>
<script type="text/javascript" src="javascript/init.js"></script>
<script type="text/javascript" src="javascript/init1.js"></script>