?>
" class="list-desc"><?php 
        echo $v['obj_name'];
        ?>
</a></td>
                <td><span class="money"><?php 
        $a = ServiceClass::getShopByObj_id($v['obj_id']);
        echo $a['price'];
        ?>
</span></td>
                <td><a href="index.php?do=seller&id=<?php 
        $a = ServiceClass::getShopByObj_id($v['obj_id']);
        echo $a['uid'];
        ?>
"><?php 
        $a = ServiceClass::getShopByObj_id($v['obj_id']);
        echo $a['username'];
        ?>
</a></td>
              </tr>
  <?php 
    }
}
?>
            </tbody>
          </table>

          </div>

      </div>
      <!-- user-type end -->
<?php

$intModelId and $intModelId and $intModelId = intval($intModelId) or $intModelId = 0;
$arrServiceModels = ServiceClass::getEnabledServiceModelList();
$strUrl = "index.php?do=user&view=transaction&op=sold";
$intModelId and $strUrl .= '&intModelId=' . intval($intModelId);
$strStatus and $strUrl .= "&strStatus=" . strval($strStatus);
$strOrder and $strUrl .= "&strOrder=" . strval($strOrder);
$strTitle and $strUrl .= "&strTitle=" . strval($strTitle);
$arrListOrder = array('b.order_id desc' => '编号降序', 'b.order_id asc' => '编号升序');
if ($intModelId) {
    $arrStatus = call_user_func(array($arrServiceModels[$intModelId]['model_code'] . '_shop_class', 'get_order_status'));
} else {
    $arrStatus1 = call_user_func(array($arrServiceModels[6]['model_code'] . '_shop_class', 'get_order_status'));
    $arrStatus2 = call_user_func(array($arrServiceModels[7]['model_code'] . '_shop_class', 'get_order_status'));
    $arrStatus = array_merge($arrStatus1, $arrStatus2);
}
if (isset($action)) {
    if ($intModelId) {
        $className = $arrServiceModels[$intModelId]['model_code'] . '_shop_class';
    } else {
        $orderInfo = db_factory::get_one("select * from " . TABLEPRE . "witkey_order where order_id = " . intval($orderId));
        if (!in_array($orderInfo['model_id'], array(6, 7))) {
            kekezu::show_msg("订单不存在", null, null, null, 'fail');
        }
        $className = $arrServiceModels[$orderInfo['model_id']]['model_code'] . '_shop_class';
    }
    $objShop = new $className();
    $resText = $objShop->dispose_order($orderId, $action);
    unset($objShop);
    if (true === $resText) {
 public function __construct()
 {
     parent::__construct();
     $this->methods = array_diff(get_class_methods(self::class), ['__construct']);
 }
 public function __construct()
 {
     parent::__construct();
     $this->log_dir = core_config('logs.path');
 }
 public function __construct()
 {
     parent::__construct();
 }
Exemple #6
0
<?php

/*
 * Copyright (c) 2013 Patric Gutersohn
 * http://www.ladensia.com
 *
 */
session_start();
include_once 'ServiceClass.php';
if ($_POST['ip'] != '') {
    $_SESSION['ip'] = $_POST['ip'];
    $_SESSION['user'] = $_POST['user'];
    $_SESSION['password'] = $_POST['password'];
    $service = new ServiceClass($_SESSION['ip'], $_SESSION['user'], $_SESSION['password']);
}
$packages = $service->listPackages();
$i = 0;
$k = 0;
$y = 0;
$x = 0;
$z = 0;
$max = count($packages);
?>

<!DOCTYPE html>
<html>
<head>
    <title>cPanel Account Creator</title>

    <link href="../css/jquery-ui.custom.min.css" rel="stylesheet" type="text/css"/>
    <link href="../css/jquery-ui-slider-pips.css" rel="stylesheet" type="text/css"/>
 public function __construct()
 {
     parent::__construct();
     $this->root = $this->config->get('default.local');
     $this->staging = $this->config->get('staging.local');
 }