function pdidb($l_data, $nbf)
{
    global $day;
    include 'connect.php';
    echo "QUERY TOTALI {$nbf}<br><br>";
    for ($m = 0; $m < $nbf; $m++) {
        $query1 = "\n\t\t\tINSERT INTO opendelays_be (datetime, arrivalStation, delay, `type-num`,`day` ) VALUES";
        $l_data[0][$m] = _v($l_data[0][$m]);
        $l_data[1][$m] = _v($l_data[1][$m]);
        $l_data[2][$m] = _v($l_data[2][$m]);
        $l_data[3][$m] = _v($l_data[3][$m]);
        $query2 = "('" . $l_data[0][$m] . "','" . $l_data[1][$m] . "','" . $l_data[2][$m] . "','" . $l_data[3][$m] . "','" . $day . "')";
        $query = $query1 . $query2;
        echo "{$m} -" . $query . "<br>";
        mysql_query($query) or die("ERRORE : " . mysql_error());
    }
}
Exemple #2
0
 /**
  * Default home page.
  */
 public function home()
 {
     global $tpl, $mall;
     //設定 Action 相關參數
     set_status($this->controller);
     //商品分類
     $_category = $mall->product_category();
     date_default_timezone_set('Asia/Shanghai');
     $cdnTime = date("YmdHis");
     $status = _v('status');
     $option = '';
     foreach ($_category as $pck1 => $pcv1) {
         if ($pcv1['layer'] == 1) {
             $a_href = APP_DIR . '/mall/?' . $status['status']['args'] . '&' . $cdnTime . '&epcid=' . $pcv1['epcid'];
             $option .= '<option value="' . $a_href . '">' . $pcv1['name'] . '</option>';
         }
     }
     $tpl->assign('cat_options', $option);
     //廣告
     //$ad = $mall->get_ad();
     //$tpl->assign('ad', $ad);
     //商品列表
     $product_list = $mall->product_list();
     $tpl->assign('product_list', $product_list);
     if ($_REQUEST['json'] == 'Y') {
         echo json_encode($product_list['table']['record']);
         exit;
     }
     if (empty($_GET['epcid'])) {
         $epcid = 1;
     } else {
         $epcid = $_GET['epcid'];
     }
     //設定分頁
     if (empty($product_list['table']['page'])) {
         $page_content = array();
     } else {
         $page_path = $tpl->variables['status']['status']['path'] . '&epcid=' . $epcid;
         $page_content = $this->set_page($product_list, $page_path);
     }
     $tpl->assign('page_content', $page_content);
     $tpl->set_title('');
     $tpl->render("mall", "home", true);
 }
function pdidb($l_Data, $nbf, $stime)
{
    $q = 0;
    include 'connect.php';
    echo "{$nbf} numero query<br><br>";
    for ($m = 0; $m < $nbf; $m++) {
        $l_Data[0][$m] = _v($l_Data[0][$m]);
        $l_Data[1][$m] = _v($l_Data[1][$m]);
        $l_Data[2][$m] = _v($l_Data[2][$m]);
        $l_Data[3][$m] = _v($l_Data[3][$m]);
        $l_Data[4][$m] = _v($l_Data[4][$m]);
        $l_Data[5][$m] = _v($l_Data[5][$m]);
        $l_Data[6][$m] = _v($l_Data[6][$m]);
        $l_Data[7][$m] = _v($l_Data[7][$m]);
        $l_Data[8][$m] = _v($l_Data[8][$m]);
        $l_Data[9][$m] = _v($l_Data[9][$m]);
        $l_Data[10][$m] = _v($l_Data[10][$m]);
        $query1 = "\n            INSERT INTO opendelays_uk\n            (`date`, `current_station`, `plan_time_arr`, `real_time_arr`, `from_station`, `pl`, `id_train`, `toc`, `to_station`, `plan_time_dep`, `real_time_dep`)\n            VALUES";
        $query2 = "('" . $l_Data[0][$m] . "','" . $l_Data[10][$m] . "','" . $l_Data[1][$m] . "','" . $l_Data[2][$m] . "','" . $l_Data[3][$m] . "','" . $l_Data[4][$m] . "','" . $l_Data[5][$m] . "','" . $l_Data[6][$m] . "','" . $l_Data[7][$m] . "','" . $l_Data[8][$m] . "','" . $l_Data[9][$m] . "')";
        $query = $query1 . $query2;
        echo "{$m} - {$query}<br>";
        if (strlen($l_Data[6][$m]) > 1) {
            if (strlen($l_Data[1][$m]) > 3) {
                $h = $l_Data[1][$m];
                //echo $stime."-".$h."<br>";
                if (substr($h, 0, 2) == substr($stime, 0, 2)) {
                    mysql_query($query) or die("ERRORE : " . mysql_error());
                    echo "REALE {$q} <br>";
                    $q++;
                }
                //else echo "no!<br>";
            } else {
                mysql_query($query) or die("ERRORE : " . mysql_error());
                echo "REALE {$q}<br>";
                $q++;
            }
        }
    }
}
function pdidb($l_Data, $nbf)
{
    $q = 0;
    echo $nbf . " - totale query <br><br>";
    include 'connect.php';
    for ($m = 0; $m < $nbf; $m++) {
        $l_Data[0][$m] = _v($l_Data[0][$m]);
        $l_Data[1][$m] = _v($l_Data[1][$m]);
        $l_Data[2][$m] = _v($l_Data[2][$m]);
        $l_Data[3][$m] = _v($l_Data[3][$m]);
        $l_Data[4][$m] = _v($l_Data[4][$m]);
        $l_Data[5][$m] = _v($l_Data[5][$m]);
        $query1 = "INSERT INTO opendelays_it(from_station, plan_time_arr, delay, current_station, id_train, to_station) VALUES";
        $query2 = "('" . $l_Data[0][$m] . "','" . $l_Data[2][$m] . "','" . $l_Data[3][$m] . "','" . $l_Data[1][$m] . "','" . $l_Data[4][$m] . "','" . $l_Data[5][$m] . "')";
        $query = $query1 . $query2;
        echo $m . " - " . $query . "<br>";
        if ($l_Data[3][$m] > -1000 and $l_Data[3][$m] < 1000) {
            echo "QUERY EFFETTIVE - {$q}<br>";
            $q++;
            mysql_query($query) or die("ERRORE : " . mysql_error());
        }
    }
}
Exemple #5
0
<?php

$post_data = _v('post_data');
?>
		<div class="article">
            <?php 
foreach ($post_data as $key => $value) {
    echo "post_data['" . $key . "']='" . $value . "'<br/>";
}
setcookie('enterpriseid', '', time() - 86400, "/", COOKIE_DOMAIN);
//set cookie for 1 day
setcookie('loginname', '', time() - 86400, "/", COOKIE_DOMAIN);
//set cookie for 1 day
?>
			
        </div><!-- /article -->
		
Exemple #6
0
<?php

date_default_timezone_set('Asia/Taipei');
$cdnTime = date("YmdHis");
$REQUEST_DATA = _v('REQUEST_DATA');
?>
		
		<div class="article">
			<form name="login" id="login" action="/site/enterprise/login_action" method="post" data-ajax="false">
			<ul data-role="listview" data-inset="true" data-icon="false">
				<li>	
                    <label for="loginname">商家帐号</label>
					<input type="text" name="loginname" id="loginname" placeholder="商家帐号" />
					<?php 
if (is_array($REQUEST_DATA)) {
    foreach ($REQUEST_DATA as $key => $value) {
        echo '<input type="hidden" name="' . $key . '" id="' . $key . '" value="' . $value . '" />';
    }
}
?>
				</li>
				<li>
					<label for="pw">密码</label>
					<input type="password" name="passwd" id="pw" placeholder="密码" />
				</li>
				<li>
					<input type="submit" value="登录" class="ui-btn ui-corner-all ui-btn-a" />
					<!--button type="submit" class="ui-btn ui-corner-all ui-btn-a">登录</button-->
				</li>
            </ul>
            </form>
Exemple #7
0
<?php

date_default_timezone_set('Asia/Taipei');
$cdnTime = date("YmdHis");
$detail = _v('detail');
?>
	
		<div class="article">
            <div data-role="collapsible" data-collapsed="false" data-iconpos="right" data-collapsed-icon="heart" data-expanded-icon="heart">
                <h4><?php 
echo $detail['menu'];
//如何殺價?
?>
</h4>
				<p><div id="onlyContent"><?php 
echo $detail['description'];
?>
</div></p>
            </div>
        </div><!-- /article -->
Exemple #8
0
                  <td> </td>
                  <td> </td>
                  <td> </td>
                  <td> </td>
                  <td> </td>
                </tr>
				<?php 
}
//endif;
?>
              </tbody>
            </table>
			
			<?php 
if (!empty($row_list['table']['record'])) {
    $page_content = _v('page_content');
    $arrow_l_able = $page_content['thispage'] <= 1 ? 'ui-state-disabled' : '';
    $arrow_r_able = $page_content['thispage'] >= $page_content['lastpage'] ? 'ui-state-disabled' : '';
    ?>
			<div>
				<div class="ui-grid-a">
                    <div class="ui-block-a <?php 
    echo $arrow_l_able;
    ?>
">
					<a href="<?php 
    echo $page_content['prevhref'];
    ?>
" data-role="button" data-icon="arrow-l">上一页</a>
					</div>
                    <div class="ui-block-b <?php 
Exemple #9
0
            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-sm-2" for="username">Username:</label>
            <div class="col-sm-10">
                <input type="text" class="form-control" id="username" name="username" placeholder="Enter username" value="<?php 
_v("user.user_username");
?>
">
            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-sm-2" for="email">E-mail:</label>
            <div class="col-sm-10">
                <input type="text" class="form-control" id="email" name="email" placeholder="Enter email" value="<?php 
_v("user.user_email");
?>
">
            </div>
        </div>
        <hr>
        <div class="form-group">
            <label class="control-label col-sm-2" for="password">Change Password:</label>
            <div class="col-sm-5">          
                <input type="password" class="form-control" id="password" name="password" placeholder="Enter new password" value="">
            </div>
            <div class="col-sm-5">          
                <input type="password" class="form-control" id="password_repeat" name="password_repeat" placeholder="Repeat password" value="">
            </div>
        </div>
        <hr>
Exemple #10
0
<?php

date_default_timezone_set('Asia/Taipei');
$cdnTime = date("YmdHis");
$txArr = _v('txArr');
// Test to set cookie
setcookie('etprs_id', '2', time() + 86400 * 7);
// 86400 = 1 day
?>
<style type="text/css">
    .codeBox {
	    background-color:#ffffff;
		padding-top:8%;
		padding-left:5%;
		padding-bottom:8%;
		padding-right:5%;
        border:#3B3B3B 30px solid;
	};
</style>
<hidden name="evrid" id="evrid" value="<?php 
echo $txArr['evrid'];
?>
">
<div class="article" style="background-color:#3B3B3B" >
		          <label align="center" style="color:#EDEDED" >给收银员扫一扫完成线下购物</label>
				  <label align="center" style="color:#EDEDED" >或让对方扫码付款给我</label>
				  <div class="codeBox">
					  <div id="barcodeBox" align="center" >
						<img style="-webkit-user-select: none" width="95%" src="http://test.shajiawang.com/site/barcodegen/genbarcode.php?text=<?php 
echo $txArr['tx_key_base64'];
?>
Exemple #11
0
<?php

$header = _v('header');
if ($header == 'N') {
    return;
}
?>
	
	<div data-role="header" >
		<h1><?php 
echo $tpl->page_header;
?>
</h1>
		<a href="#left-panel<?php 
get_panel_id();
?>
" data-icon="bars" >功能</a>
        <a href="#right-panel<?php 
get_panel_id();
?>
" data-icon="gear" data-iconpos="right">会员</a>
	</div><!--data-role="header"-->
Exemple #12
0
<?php

date_default_timezone_set('Asia/Taipei');
$cdnTime = date("YmdHis");
$deposit_rule = _v('deposit_rule');
$get_deposit = _v('get_deposit');
$get_scode_promote = _v('get_scode_promote');
$bank_list = _v('bank_list');
$spmemo = _v('spmemo');
?>
		
		<div class="article">
            <form id="deposit-<?php 
echo $cdnTime;
?>
" name="deposit-rule-item" method="post" action="<?php 
echo $config[$deposit_rule[0]['act']]['htmlurl'];
?>
">
			<ul data-role="listview" data-inset="true" data-icon="false">
                <li>
                	<div id="tagBox">
                        <img src="<?php 
echo $config['path_image'];
?>
/<?php 
echo $deposit_rule[0]['logo'];
?>
">
                    </div>
                </li>
Exemple #13
0

    <form class="form-horizontal" role="form" method="post" action="<?php 
_link("admin_accounts_groups_edit", _v("group.group_id", true));
?>
">
        
        <?php 
_inc("parts/messages");
?>
        
        <div class="form-group">
            <label class="control-label col-sm-2" for="group_name">Group name:</label>
            <div class="col-sm-10">
                <input type="text" class="form-control" id="group_name" name="group_name" placeholder="Enter group name" value="<?php 
_v("group.group_name");
?>
">
            </div>
        </div>
        <hr>
        
        <?php 
foreach ($groups_list as $top => $v) {
    ?>
        
        <h2><?php 
    echo $top;
    ?>
</h2>
        
Exemple #14
0
<?php

date_default_timezone_set('Asia/Shanghai');
$cdnTime = date("YmdHis");
$record = _v('record');
$keyin_time = strtotime($record['keyin_time']);
$expired_time = $keyin_time + 300;
?>
<!-- style>
    body { font-size: 62.5%; }
    label, input { display:block; }
    input.text { margin-bottom:12px; width:95%; padding: .4em; }
    fieldset { padding:0; border:0; margin-top:25px; }
    h1 { font-size: 1.2em; margin: .6em 0; }
    div#users-contain { width: 350px; margin: 20px 0; }
    div#users-contain table { margin: 1em 0; border-collapse: collapse; width: 100%; }
    div#users-contain table td, div#users-contain table th { border: 1px solid #eee; padding: .6em 10px; text-align: left; }
    .ui-dialog .ui-state-error { padding: .3em; }
    .validateTips { border: 1px solid transparent; padding: 0.3em; }
  </style -->
	<div class="article">
			<ul data-role="listview" data-inset="true" data-icon="false">
			    <li>交易对方 : <?php 
echo $record['vendor_name'];
?>
</li>
                <li>商品名称 : <?php 
echo $record['prod_name'];
?>
</li>
				<li>使用红利 : <?php 
Exemple #15
0
                            <input type="password" name="userPassword" id="userPassword" class="text" value="<?php 
    _v('userPassword');
    ?>
" />
                            <p class="description"><?php 
    _e('请填写您的登录密码, 如果留空系统将为您随机生成一个');
    ?>
</p>
                            </li>
                            <li>
                            <label class="typecho-label" for="userMail"><?php 
    _e('邮件地址');
    ?>
</label>
                            <input type="text" name="userMail" id="userMail" class="text" value="<?php 
    _v('userMail', '*****@*****.**');
    ?>
" />
                            <p class="description"><?php 
    _e('请填写一个您的常用邮箱');
    ?>
</p>
                            </li>
                        </ul>
                    </div>
                    <input type="hidden" name="action" value="config" />
                    <p class="submit"><button type="submit" class="primary"><?php 
    _e('确认, 开始安装 &raquo;');
    ?>
</button></p>
                </form>
Exemple #16
0
<?php

$status = _v('status');
$profile = _v('profile');
?>
	
		<div class="article">
            <ul data-role="listview" data-inset="true" data-icon="false">
                <li>收件人姓名:<span id="liname"></span></li>
				<input name="name" id="name" value="" type="hidden">
                
				<li>收件人邮政编号:<span id="lizip"></span></li>
				<input name="zip" id="zip" value="" type="hidden">
                
				<li>收件人地址:<span id="liaddress"></span></li>
				<input name="address" id="address" value="" type="hidden">
				
				<!--<li>收件人信息确认后无法自行修改!</li>-->
            </ul>
            <div>
                <div class="ui-grid-a">
                    <div class="ui-block-a"><a href="#" data-role="button" data-icon="edit" data-rel="back">修改</a></div>
                    <div class="ui-block-b"><a href="#" data-role="button" data-icon="shop" data-iconpos="right" onClick="profile_confirm()">确认</a></div>
                </div>
            </div>
			
        </div><!-- /article -->
		
Exemple #17
0
<?php

$status = _v('status');
$product_list = _v('today_product');
/*
var_dump($product_list);
array(14) {
    ["todayid"]=>    string(1) "1"
    ["name"]=>    string(23) "Coach蔻驰新款包包"
    ["description"]=>    string(32) "Banner : Coach蔻驰新款包包"
    ["thumbnail_url"]=>    string(0) ""
    ["link"]=>    string(64) "http://cn.sajawa.com/site/product/saja/?channelid=1&productid=81"
    ["thumbnail"]=>    string(36) "cf5fd04d6ec622c04bd600dca8dbda5a.jpg"
  }
*/
?>
        <div class="article">
            
            <ul data-role="listview" data-inset="true" data-icon="false">
				<?php 
if (!empty($product_list)) {
    foreach ($product_list as $rk => $rv) {
        ?>
				<li>
                    <!-- a href="<?php 
        echo $rv['link'];
        ?>
" data-transition="slide" -->
						<div class="navigate-column" style="cursor: pointer; width:100%; padding: 0 0px 0 0px;">
							<div class="wrapper flash">
								<div style="width:99%; overflow:hidden; margin:1%; border-radius:5px;">
Exemple #18
0
<?php

$deposit_rule = _v('deposit_rule');
$row_list = _v('row_list');
$get_drid_list = _v('get_drid_list');
$scode_promote_memo = _v('scode_promote_memo');
?>
		<div class="article">
            <ul data-role="listview" data-inset="true" data-icon="false">
                <li>
                	<div id="tagBox">
                        <img src="<?php 
echo $config['path_image'];
?>
/deposit/deposit_title.png">
                    </div>
                    
                    <li>
                        <div id="driid" class="ui-grid-b">
                        </div><!-- /grid-b -->
                    </li>
                    <li>
                        <div id="drid" class="ui-grid-b"><!--
                        <?php 
if (!empty($get_drid_list)) {
    foreach ($get_drid_list as $key => $value) {
        if ($key % 3 == 0) {
            echo '
                        	<div class="ui-block-a" style="width: 33% !important;">';
        } else {
            if ($key % 3 == 1) {
Exemple #19
0
<?php

$meta = _v('meta');
?>
<meta charset="utf-8">
<meta property="og:title" content="<?php 
echo $meta['title'];
?>
" />
<meta property="og:type" content="article" />
<meta property="og:image" content="<?php 
echo $meta['image'];
?>
" />
<meta property="og:url" content="<?php 
echo BASE_URL . $_SERVER['REQUEST_URI'];
?>
" />
<meta property="og:description" content="<?php 
echo $meta['description'];
?>
" />
<meta name="mobileoptimized" content="0" />
<meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="format-detection" content="telephone=no" />
<meta name="screen-orientation" content="portrait" />
<meta name="browsermode" content="application" />
<meta property="wb:webmaster" content="1a4d5f9e7b901534" />
<meta property="qc:admins" content="2405036366630121171676375731457" />
<!-- SEO: -->
Exemple #20
0
<?php

date_default_timezone_set('Asia/Shanghai');
$cdnTime = date("YmdHis");
$member = _v('member');
$spoint = _v('spoint');
$row_list = _v('row_list');
$bonus = _v('bonus');
$gift = _v('gift');
$auth = _v('auth');
$house_bidder = _v('house_bidder');
$verified_phone = empty($auth['verified']) || $auth['verified'] !== 'Y' ? '<span style="color:red">(未验证)</span>' : '<span>(已验证)</span>';
$user_extrainfo_category = _v('user_extrainfo_category');
$user_extrainfo = _v('user_extrainfo');
$order_product = _v('order_product');
$recommand_total = _v('recommand_total');
?>
	
		<div class="article">
            <!--<div data-role="collapsible-set" data-theme="a" data-iconpos="right" data-collapsed-icon="carat-d" data-expanded-icon="carat-u">
				<div data-role="collapsible">
                    <h2>修改密码</h2>
                    <ul data-role="listview" data-theme="a">
						<li class="ui-field-contain">
                            <label for="oldpw">旧密码</label>
                            <input name="oldpw" id="oldpw" value="" data-clear-btn="true" type="password">
                        </li>
                        <li class="ui-field-contain">
                            <label for="newpw">新密码</label>
                            <input name="newpw" id="newpw" value="" data-clear-btn="true" type="password" placeholder="以4~12个英文字母或数字为限" >
                        </li>
Exemple #21
0
<?php

if (!defined('__TYPECHO_ROOT_DIR__')) {
    exit;
}
$defaultDir = dirname($_SERVER['SCRIPT_FILENAME']) . '/usr/' . uniqid() . '.db';
?>
<li>
<label class="typecho-label"><?php 
_e('数据库文件路径');
?>
</label>
<input type="text" class="text" name="dbFile" value="<?php 
_v('dbFile', $defaultDir);
?>
"/>
<p class="description"><?php 
_e('"%s" 是我们为您自动生成的地址', $defaultDir);
?>
</p>
</li>
Exemple #22
0
) no-repeat center center fixed;
			-webkit-background-size: cover;
			-moz-background-size: cover;
			-o-background-size: cover;
			background-size: cover;
		}
        #sidebar-menu{ background: rgba(<?php 
_v("color_scheme_1");
?>
); }
        #sidebar-submenu { background: rgba(<?php 
_v("color_scheme_2");
?>
); }
        .navbar-inverse { background-color: rgba(<?php 
_v("color_scheme_2");
?>
); }
        
	</style>
    
    <link href="<?php 
template_url();
?>
assets/css/drawline.css" rel="stylesheet" />
    
    <script src="<?php 
template_url();
?>
assets/pace/pace.min.js" data-pace-options='{ "ajax": true }'></script>
    <link href="<?php 
Exemple #23
0
<?php

$footer = _v('footer');
if ($footer == 'N') {
    return;
}
?>

	<div data-role="footer">
        <h4>全球首创杀价式拍卖导购平台<?php 
//杀价王 2014
?>
</h4>
    </div><!-- /footer -->
Exemple #24
0
<?php

date_default_timezone_set('Asia/Shanghai');
$cdnTime = date("YmdHis");
$enterprise = _v('member_data');
?>
	
		<div class="article">
			<div data-role="collapsible-set" data-theme="a" data-iconpos="right" data-collapsed-icon="carat-d" data-expanded-icon="carat-u">
			  <div data-role="collapsible">	
			    <h2>联系信息</h2>
				<ul data-role="listview" data-inset="true" data-icon="false">
				    <li><h2>商家名称:</h2><?php 
echo $enterprise['companyname'];
?>
</li>
					<li><h2>登记证号:</h2><?php 
echo $enterprise['uniform'];
?>
</li>
					<li><h2>负责人:</h2><?php 
echo $enterprise['name'];
?>
</li>
					<li><h2>联系电话:</h2><?php 
echo $enterprise['phone'];
?>
</li>
					<li><h2>Email:</h2><?php 
echo $enterprise['email'];
?>
Exemple #25
0
<?php

date_default_timezone_set('Asia/Shanghai');
$static_html = _v('static_html');
if (!empty($static_html)) {
    error_log("[view/faq] including {$static_html} ....");
    include_once $static_html;
} else {
    error_log("[view/faq] composite dynamic html ....");
    $cdnTime = date("YmdHis");
    $row_list = _v('row_list');
    $detail = _v('detail');
    $status = _v('status');
    ?>
		
		<div class="article">
            <div data-role="collapsible-set" data-theme="a" data-iconpos="right" data-collapsed-icon="carat-d" data-expanded-icon="carat-u">
				<?php 
    if (!empty($row_list)) {
        foreach ($row_list as $mk1 => $mv1) {
            ?>
				<div data-role="collapsible">
                    <h2><?php 
            echo $mv1["cname"];
            ?>
</h2>
                    <!--<ul data-role="listview" data-theme="b">
                        <?php 
            foreach ($mv1["menu"] as $fid => $fname) {
                ?>
						<li><a href="<?php 
Exemple #26
0
    ?>
</div>
					<?php 
    if (!empty($product['offtime'])) {
        ?>
					           <div align="center"><p class="countdown" style="font-size:20px;color:red" data-offtime="<?php 
        echo $product['offtime'];
        ?>
" data-tag=" "> 00时00分00秒</p></div>
					<?php 
    }
    //endif;
    ?>
					
					     <div align="center" id="final_bidded" style="color:blue;font-size:30px;"><span id="bidded"><?php 
    echo _v('bidded');
    ?>
</span>&nbsp;
                    				
					<!-- a href="#" onclick="autoUpdate();" data-role="button" data-icon="refresh" data-iconpos="notext" style="display:inline;">
					        <span class="ui-btn-inner">
					        	<span class="ui-btn-text">&nbsp;</span>
					        	<span class="ui-icon ui-icon-refresh ui-icon-shadow" />&nbsp;</span>
					        </span>
						</a>
						<span style="color:black;display:block;white-space:normal;">(每分钟自动更新一次)</span -->
					   
					</div>
					<p>
						<?php 
    if ($qrcode == 'Y') {
Exemple #27
0
        <label class="typecho-label" for="dbPassword"><?php 
    _e('数据库密码');
    ?>
</label>
        <input type="password" class="text" name="dbPassword" id="dbPassword" value="<?php 
    _v('dbPassword');
    ?>
" />
    </li>
    <li>
        <label class="typecho-label" for="dbDatabase"><?php 
    _e('数据库名');
    ?>
</label>
        <input type="text" class="text" name="dbDatabase" id="dbDatabase" value="<?php 
    _v('dbDatabase', 'typecho');
    ?>
" />
        <p class="description"><?php 
    _e('请您指定数据库名称');
    ?>
</p>
    </li>

<?php 
}
?>
<input type="hidden" name="dbCharset" value="<?php 
_e('utf8');
?>
" />
Exemple #28
0
<?php

if (_v('type') != '' && _v('type') != 'deal') {
    ?>
	<script>
		alert('偷看是不道德的行为!');
		location.href='/site/';
	</script>
<?php 
}
$productid = _v('productid');
if (file_exists('/var/www/html' . APP_DIR . '/static/html/BidDetail_' . $productid . '.html')) {
    include_once '/var/www/html' . APP_DIR . '/static/html/BidDetail_' . $productid . '.html';
}
/*  
$html='<div class="article">'.
            '<ul data-role="listview" data-inset="true" data-icon="false">'.
                '<li>'.
                    '<div id="tagBox">';

if(!empty($product['thumbnail'])) { 
	$img_src = BASE_URL.APP_DIR.'/images/site/product/'.$product['thumbnail'];
} elseif (!empty($product['thumbnail_url'])) {
	$img_src = $product['thumbnail_url']; 
} 
					
$html.='<img src="'.$img_src.'" >'.
                    '</div>'.
                    '<p><h2>'.$product['name'].'</h2></p>'.
				'<h2>商品市价:RMB '.$product['retail_price'].' 元</h2>';
Exemple #29
0
<?php

date_default_timezone_set('Asia/Taipei');
$cdnTime = date("YmdHis");
$status = _v('status');
$marquee = _v('marquee');
?>
<style>
h2 a:link {
	color: #3388cc;
}
</style>
<link rel="stylesheet" href="<?php 
echo APP_DIR;
?>
/css/colorbox.css" />
<script src="<?php 
echo APP_DIR;
?>
/javascript/jquery.colorbox-min.js"></script>
<script>
	$(document).ready(function(){
		$(".inline").colorbox({inline:true, width:"80%"});
	});
</script>
        <div class="article">
        	
            <div>
                <div class="ui-grid-a">
                    <div class="ui-block-a"><a href="<?php 
echo APP_DIR;
    </div>-->
    <div class="row">
        <div class="col-md-5">
            <h3>Caraceristici</h3>
            <hr>
            <div class="alert alert-info"><strong>Info!</strong> Introduceti cate o caracteristica pe linie.</div>
            <textarea class="form-control" name="produs_caracteristici" style="height:200px;" placeholder="Introduceti cate o caracteristica pe linie."><?php 
_v("content.content_text.caracteristici");
?>
</textarea>
        </div>
        <div class="col-md-7">
            <h3>Descriere</h3>
            <hr>
            <textarea name="produs_descriere" class="editor"><?php 
_v("content.content_text.descriere");
?>
</textarea>
        </div>
    </div>
    <hr>
    <div class="form-group">        
        <div class="col-sm-offset-2 col-sm-10">
            <a href="<?php 
echo BASE_URL . $content['content_slug'] . "/";
?>
" target="_blank" class="btn btn-default">Vezi Produsul</a>
            <button type="submit" class="btn btn-primary" name="edit_produs_btn"><i class="fa fa-check"></i> Salveaza modificarile</button>
        </div>
    </div>