示例#1
0
include_once 'config/db_conn.php';
include_once 'db_config/db_user.php';
include_once 'db_config/db_gigs.php';
include_once 'db_config/db_sentmail.php';
include_once 'db_config/db_inbox.php';
$sentmail = new sentmail();
$inboxmail = new inbox();
$to = trim($_REQUEST['to'], ' ');
$gig_id = $_REQUEST['gig_id'];
$user = new user();
$rs_user = $user->uniq_user_list('user_id', $_SESSION['user_id']);
$data_user = mysql_fetch_array($rs_user);
$rs_user_tomail = $user->uniq_user_list('user_name', $to);
$data_user_tomail = mysql_fetch_array($rs_user_tomail);
$gigs_obj = new gigs();
$rs_gigs = $gigs_obj->uniq_gigs_list('id', $gig_id);
$data_gigs = mysql_fetch_array($rs_gigs);
if ($_REQUEST['submit']) {
    $data_senmail = array();
    $data_senmail['gigs_id'] = $gig_id;
    $data_senmail['to_id'] = $data_user_tomail['user_id'];
    $data_senmail['from_id'] = $_SESSION['user_id'];
    $data_senmail['sub'] = $_REQUEST['subject'];
    $data_senmail['body'] = $_REQUEST['body'];
    $data_senmail['attachment'] = $_FILES['attachment']['name'];
    $data_senmail['date_time'] = date('y-m-d h:i:s');
    $sentmail->dataInsert('ninerr_sentmail', $data_senmail);
    $data_inbox['gigs_id'] = $gig_id;
    $data_inbox['from_id'] = $data_user_tomail['user_id'];
    $data_inbox['to_id'] = $_SESSION['user_id'];
    $data_inbox['sub'] = $_REQUEST['subject'];
示例#2
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_admin_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);
$user_id = $_REQUEST['user_id'];
$admin_order_payment = new admin_order_payment();
if ($_POST) {
    $array_1 = array("order_status_date" => date('Y:m:d'));
    $array_m = array_merge($array_1, $_POST);
    $admin_order_payment->dataInsert('ninerr_admin_order_payment', $array_m);
    $fldArray = array("user_id" => $user_id);
    $dataArray = array("cleader_fund" => $_POST['mc_gross'], "withdraw_request" => "sucess");
    $admin_order_payment->dataUpdate('ninerr_user_transaction', $dataArray, $fldArray);
    reDirect('transaction.php?req=success');
}
示例#3
0
             
              <td colspan="3" align="center">&nbsp;</td>
	        </tr>
            <tr bgcolor="#F1F1F1" height="30">
              <td width="13%"><strong>SL NO </strong></td>
              <td width="48%"><strong>Shopp Orde Item </strong></td>
             
             
              <td width="21%"><strong>Review To </strong></td>
              <td colspan="3" align="center"><strong>Review</strong></td>
	        </tr>
			
            <?php 
    $k = 0;
    while ($data_review_list_by = mysql_fetch_array($rs_review_list_by)) {
        $rs_gigs1 = $gigs->uniq_gigs_list("id", $data_review_list_by['gigs_id']);
        $data_gigs1 = mysql_fetch_array($rs_gigs1);
        ?>
            <tr  >
			 <td><?php 
        echo $k + 1;
        ?>
</td>
              <td><?php 
        echo $data_gigs1['gigs_title'];
        ?>
</td>
             
             
             
              <td><?php 
示例#4
0
文件: users.php 项目: mix376/biverr
<?php

session_start();
include_once 'config/db_conn.php';
include_once 'db_config/db_gigs.php';
include_once 'db_config/db_catagory.php';
include_once 'db_config/db_user.php';
include_once 'db_config/db_review.php';
$user = new user();
$review = new review();
$arr_var = explode('_', $_REQUEST['title']);
$gigs_title = str_replace('-', ' ', $arr_var[3]);
$gigs = new gigs();
$rs_gigs = $gigs->uniq_gigs_list('gigs_title', $gigs_title);
$i = 0;
$data = mysql_fetch_array($rs_gigs);
$catagory = new catagory();
$rs_catagory = $catagory->uniq_catagory_list('catagory_id', $data['catagory_id']);
$data_catagory = mysql_fetch_array($rs_catagory);
$rs_cat_gigs = $gigs->uniq_gigs_list('catagory_id', $data['catagory_id']);
$rs_others_gigs = $gigs->uniq_gigs_list('user_id', $data['user_id']);
$rs_uniq_user = $user->uniq_user_list('user_id', $data['user_id']);
$data_uniq_user = mysql_fetch_array($rs_uniq_user);
if ($_REQUEST['gigs_title'] != '') {
    $gigs_title = $_REQUEST['gigs_title'];
}
if ($_REQUEST['submit']) {
    $gigs_title = $_REQUEST['gigs_title'];
    $gig_category_id = $_REQUEST['gig_category_id'];
    $gigs_title = $_REQUEST['gigs_description'];
}
示例#5
0
<?php

session_start();
include_once 'config/db_conn.php';
include_once 'db_config/db_gigs.php';
include_once 'db_config/db_user.php';
$user = new user();
$gigs = new gigs();
$catagory_id = $_REQUEST['id'];
$rs = $gigs->uniq_gigs_list('catagory_id', $catagory_id);
$i = 0;
?>
<!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>
<script src="javascript/main.js" type="text/javascript"></script>
<script language="javascript" type="text/javascript">
	/* this is just a simple reload; you can safely remove it; remember to remove it from the image too */
	function reloadCaptcha()
	{
		document.getElementById('captcha').src = document.getElementById('captcha').src+ '?' +new Date();