示例#1
0
if (isset($tpl['status'])) {
    $status = __('status', true);
    switch ($tpl['status']) {
        case 2:
            pjUtil::printNotice(NULL, $status[2]);
            break;
    }
} else {
    if (isset($_GET['err'])) {
        $titles = __('error_titles', true);
        $bodies = __('error_bodies', true);
        pjUtil::printNotice(@$titles[$_GET['err']], @$bodies[$_GET['err']]);
    }
    include_once PJ_VIEWS_PATH . 'pjLayouts/elements/optmenu.php';
    pjUtil::printNotice(__('infoTermsTitle', true), __('infoTermsDesc', true));
    if (isset($tpl['arr'])) {
        if (is_array($tpl['arr'])) {
            $count = count($tpl['arr']) - 1;
            if ($count > 0) {
                ?>
				<?php 
                $locale = isset($_GET['locale']) && (int) $_GET['locale'] > 0 ? (int) $_GET['locale'] : NULL;
                if (is_null($locale)) {
                    foreach ($tpl['lp_arr'] as $v) {
                        if ($v['is_default'] == 1) {
                            $locale = $v['id'];
                            break;
                        }
                    }
                }
</a></li>
			<li class="ui-state-default ui-corner-top ui-tabs-active ui-state-active"><a href="<?php 
    echo $_SERVER['PHP_SELF'];
    ?>
?controller=pjAdminProducts&amp;action=pjActionUpdate&amp;id=<?php 
    echo $tpl['arr']['id'];
    ?>
"><?php 
    __('lblUpdateProduct');
    ?>
</a></li>
		</ul>
	</div>
	
	<?php 
    pjUtil::printNotice(__('infoUpdateProductTitle', true, false), __('infoUpdateProductDesc', true, false));
    ?>
	
	<?php 
    if ((int) $tpl['option_arr']['o_multi_lang'] === 1) {
        ?>
	<div class="multilang"></div>
	<?php 
    }
    ?>
	
	<form action="<?php 
    echo $_SERVER['PHP_SELF'];
    ?>
?controller=pjAdminProducts&amp;action=pjActionUpdate" method="post" id="frmUpdateProduct" class="form pj-form" autocomplete="off" enctype="multipart/form-data">
		<input type="hidden" name="product_update" value="1" />
<?php

$response1 = $_SESSION["response1"];
$responseAddress = $_SESSION["responseAddress"];
//echo "Merchant Address".$responseAddress;
//echo "merchant id here".$_SESSION["merchantId"];
$result = json_decode($response1);
$resultAddress = json_decode($responseAddress);
$name = $result->name;
$address = $resultAddress->address1;
//echo "session".$name;
if (isset($tpl['status'])) {
    $status = __('status', true);
    switch ($tpl['status']) {
        case 2:
            pjUtil::printNotice(NULL, $status[2]);
            break;
    }
} else {
    ?>
	<div class="ui-tabs ui-widget ui-widget-content ui-corner-all b10">
		<ul class="ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all">
			<li class="ui-state-default ui-corner-top"><a href="<?php 
    echo $_SERVER['PHP_SELF'];
    ?>
?controller=pjAdminMerchant&amp;action=pjActionIndex">Merchant</a></li>
			<li class="ui-state-default ui-corner-top ui-tabs-active ui-state-active"><a href="<?php 
    echo $_SERVER['PHP_SELF'];
    ?>
?controller=pjAdminMerchant&amp;action=pjActionCreate">Add Merchant</a></li>
		</ul>
													</tr>
													<?php 
                    }
                }
                ?>
										</tbody>
									</table>
								</fieldset>
								<p><input type="submit" value="<?php 
                __('btnSave');
                ?>
" class="pj-button" /></p>
							</div><!-- tabs-2 -->
							<div id="tabs-3">
								<?php 
                pjUtil::printNotice(__('infoPrintTemplateTitle', true), __('infoPrintTemplateDesc', true));
                ?>
								<div class="multilang"></div>
								<br/><br/>
								
								<table class="pj-table" cellpadding="0" cellspacing="0" style="width: 100%">
									<thead>
										<tr>
											<th><?php 
                __('lblOption');
                ?>
</th>
											<th><?php 
                __('lblValue');
                ?>
</th>
    $titles = __('error_titles', true);
    $bodies = __('error_bodies', true);
    if (isset($_GET['err'])) {
        pjUtil::printNotice(@$titles[$_GET['err']], @$bodies[$_GET['err']]);
    }
    ?>
	<div id="tabs">
		<ul>
			<li><a href="#tabs-1"><?php 
    __('menuInstall');
    ?>
</a></li>
		</ul>
		<div id="tabs-1">
			<?php 
    pjUtil::printNotice(__('lblInstallJs1_title', true), __('lblInstallJs1_body', true), false, false);
    ?>

			<form action="" method="get" class="pj-form form">
				<fieldset class="fieldset white">
					<legend><?php 
    __('lblInstallConfig');
    ?>
</legend>
					<p>
						<label class="title"><?php 
    __('lblInstallConfigLocale');
    ?>
</label>
						<select class="pj-form-field w200 pj-install-config" id="install_locale" name="install_locale">
							<option value="">-- <?php 
?controller=pjAdminCategories&amp;action=pjActionIndex"><?php 
    __('menuCategories');
    ?>
</a></li>
			<li class="ui-state-default ui-corner-top ui-tabs-active ui-state-active"><a href="<?php 
    echo $_SERVER['PHP_SELF'];
    ?>
?controller=pjAdminCategories&amp;action=pjActionCreate"><?php 
    __('lblAddCategory');
    ?>
</a></li>
		</ul>
	</div>
	
	<?php 
    pjUtil::printNotice(__('infoAddCategoryTitle', true, false), __('infoAddCategoryDesc', true, false));
    ?>
	
	<?php 
    if ((int) $tpl['option_arr']['o_multi_lang'] === 1) {
        ?>
	<div class="multilang"></div>
	<?php 
    }
    ?>
	
	<form action="<?php 
    echo $_SERVER['PHP_SELF'];
    ?>
?controller=pjAdminCategories&amp;action=pjActionCreate" method="post" id="frmCreateCategory" class="form pj-form" autocomplete="off">
		<input type="hidden" name="category_create" value="1" />
    }
    $u_statarr = __('u_statarr', true);
    ?>
	<div class="ui-tabs ui-widget ui-widget-content ui-corner-all b10">
		<ul class="ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all">
			<li class="ui-state-default ui-corner-top ui-tabs-active ui-state-active"><a href="<?php 
    echo $_SERVER['PHP_SELF'];
    ?>
?controller=pjAdminUsers&amp;action=pjActionIndex"><?php 
    __('lblClients');
    ?>
</a></li>
		</ul>
	</div>
	<?php 
    pjUtil::printNotice(__('infoClientsTitle', true, false), __('infoClientsDesc', true, false));
    ?>
	<div class="b10">
		<form action="" method="get" class="float_left pj-form frm-filter">
			<input type="text" name="q" class="pj-form-field pj-form-field-search w150" placeholder="<?php 
    __('btnSearch', false, true);
    ?>
" />
		</form>
		<?php 
    $filter = __('filter', true);
    ?>
		<div class="float_right t5">
			<a href="#" class="pj-button btn-all"><?php 
    __('lblAll');
    ?>
</a></li>
			<li class="ui-state-default ui-corner-top ui-tabs-active ui-state-active"><a href="<?php 
    echo $_SERVER['PHP_SELF'];
    ?>
?controller=pjAdminLocations&amp;action=pjActionUpdate&amp;id=<?php 
    echo $tpl['arr']['id'];
    ?>
"><?php 
    __('lblUpdateLocation');
    ?>
</a></li>
		</ul>
	</div>
	<?php 
    include_once PJ_VIEWS_PATH . 'pjLayouts/elements/menu_location.php';
    pjUtil::printNotice(__('infoWTimeTitle', true, false), __('infoWTimeDesc', true, false));
    ?>
	
	<div id="tabs">
		<ul>
			<li><a href="#tabs-1"><?php 
    __('lblDefault', false, true);
    ?>
</a></li>
			<li><a href="#tabs-2"><?php 
    __('lblCustom', false, true);
    ?>
</a></li>
		</ul>
		<div id="tabs-1">
		<?php 
} else {
    ?>
	<style type="text/css">
	.ui-widget {
	    font-family: inherit;
	    font-size: inherit;
	}
	.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button {
	    font-family: inherit;
	    font-size: inherit;
	}
	</style>
	<div class="i-wrap">
		
		<?php 
    pjUtil::printNotice('Database Update', 'You can update either to specified database version or more than just one.', true, false);
    ?>
		
		<div id="grid"></div>
		
		<div id="grid_plugins" class="t20"></div>

		<div id="dialogExecute" style="display: none" title="Execute confirmation">Are you sure you want to execute selected file?
			<label class="i-error-clean" style="display: none"></label>
		</div>

		<script type="text/javascript">
		var myLabel = myLabel || {};
		myLabel.name = 'File name';
		myLabel.plugin = 'Plugin';
		myLabel.execute = 'Execute';
示例#10
0
?controller=pjAdminCategories&amp;action=pjActionIndex"><?php 
    __('menuCategories');
    ?>
</a></li>
			<li class="ui-state-default ui-corner-top"><a href="<?php 
    echo $_SERVER['PHP_SELF'];
    ?>
?controller=pjAdminCategories&amp;action=pjActionCreate"><?php 
    __('lblAddCategory');
    ?>
</a></li>
		</ul>
	</div>
	
	<?php 
    pjUtil::printNotice(__('infoCategoriesTitle', true, false), __('infoCategoriesDesc', true, false));
    ?>
	<div class="b10">
		<form action="" method="get" class="float_left pj-form frm-filter">
			<input type="text" name="q" class="pj-form-field pj-form-field-search w150" placeholder="<?php 
    __('btnSearch');
    ?>
" />
		</form>
		<?php 
    $filter = __('filter', true);
    ?>
		<div class="float_right t5">
			<a href="#" class="pj-button btn-all"><?php 
    __('lblAll');
    ?>
示例#11
0
    ?>
?controller=pjAdminOrders&amp;action=pjActionIndex"><?php 
    __('menuOrders');
    ?>
</a></li>
			<li class="ui-state-default ui-corner-top"><a href="<?php 
    echo $_SERVER['PHP_SELF'];
    ?>
?controller=pjAdminOrders&amp;action=pjActionCreate"><?php 
    __('lblAddOrder');
    ?>
</a></li>
		</ul>
	</div>
	<?php 
    pjUtil::printNotice(__('infoOrdersListTitle', true, false), __('infoOrdersListDesc', true, false));
    ?>
	
	<div class="b10">
		<form action="" method="get" class="float_left pj-form frm-filter">			
			<!--<input type="text" name="q" class="pj-form-field pj-form-field-search w200"/>-->
			<select name="searchType" id="searchType" class="pj-form-field">
				<option value="">-- Search Type --</option>
				<option value="location">By Location</option>
				<option value="type">By Type</option>
				<option value="status">By Status</option>
			</select>
			<div class="valid_period">				
				<span class="pj-form-field-custom pj-form-field-custom-after float_left r5">
					<label class="title">From:</label>
					<input type="text" name="o_date_from" id="o_date_from" class="pj-form-field pointer w80 datepick" readonly="readonly" rel="<?php 
示例#12
0
<?php

if (isset($tpl['status'])) {
    $status = __('status', true);
    switch ($tpl['status']) {
        case 2:
            pjUtil::printNotice(NULL, $status[2]);
            break;
    }
} else {
    $plugin_menu = PJ_VIEWS_PATH . sprintf('pjLayouts/elements/menu_%s.php', $controller->getConst('PLUGIN_NAME'));
    if (is_file($plugin_menu)) {
        include $plugin_menu;
    }
    include dirname(__FILE__) . '/elements/menu.php';
    $titles = __('error_titles', true);
    $bodies = __('error_bodies', true);
    pjUtil::printNotice(@$titles['POA01'], @$bodies['POA01']);
    ?>
	<div class="b10">
		<a href="#" class="pj-button btn-add"><?php 
    __('plugin_one_admin_btn_add');
    ?>
</a>
	</div>

	<div id="grid"></div>
	<?php 
}
示例#13
0
    ?>
</a></li>
			<li class="ui-state-default ui-corner-top ui-tabs-active ui-state-active"><a href="<?php 
    echo $_SERVER['PHP_SELF'];
    ?>
?controller=pjAdminOrders&amp;action=pjActionUpdate&amp;id=<?php 
    echo $tpl['arr']['id'];
    ?>
"><?php 
    __('lblUpdateOrder');
    ?>
</a></li>
		</ul>
	</div>
	<?php 
    pjUtil::printNotice(__('infoUpdateOrderTitle', true, false), __('infoUpdateOrderDesc', true, false));
    ?>
	<form action="<?php 
    echo $_SERVER['PHP_SELF'];
    ?>
?controller=pjAdminOrders&amp;action=pjActionUpdate" method="post" class="form pj-form" id="frmUpdateOrder">
		<input type="hidden" name="order_update" value="1" />
		<input type="hidden" name="id" value="<?php 
    echo $tpl['arr']['id'];
    ?>
" />
		
		<fieldset class="fieldset white">
			<legend><?php 
    __('lblProducts');
    ?>
    ?>
?controller=pjAdminVouchers&amp;action=pjActionIndex"><?php 
    __('menuVouchers');
    ?>
</a></li>
			<li class="ui-state-default ui-corner-top ui-tabs-active ui-state-active"><a href="<?php 
    echo $_SERVER['PHP_SELF'];
    ?>
?controller=pjAdminVouchers&amp;action=pjActionCreate"><?php 
    __('lblAddVoucher');
    ?>
</a></li>
		</ul>
	</div>
	<?php 
    pjUtil::printNotice(__('infoAddVoucherTitle', true, false), __('infoAddVoucherDesc', true, false));
    ?>
	<form action="<?php 
    echo $_SERVER['PHP_SELF'];
    ?>
?controller=pjAdminVouchers&amp;action=pjActionCreate" method="post" id="frmCreateVoucher" class="form pj-form" autocomplete="off">
		<input type="hidden" name="voucher_create" value="1" />
		<p>
			<label class="title"><?php 
    __('lblVoucherCode');
    ?>
</label>
			<span class="inline_block">
				<input type="text" name="code" id="code" class="pj-form-field w150 required" />
			</span>
		</p>
示例#15
0
</a></li>
			<li class="ui-state-default ui-corner-top ui-tabs-active ui-state-active"><a href="<?php 
    echo $_SERVER['PHP_SELF'];
    ?>
?controller=pjAdminExtras&amp;action=pjActionUpdate&amp;id=<?php 
    echo $tpl['arr']['id'];
    ?>
"><?php 
    __('lblUpdateExtra');
    ?>
</a></li>
		</ul>
	</div>
	
	<?php 
    pjUtil::printNotice(__('infoUpdateExtraTitle', true, false), __('infoUpdateExtraDesc', true, false));
    ?>
	
	<?php 
    if ((int) $tpl['option_arr']['o_multi_lang'] === 1) {
        ?>
	<div class="multilang"></div>
	<?php 
    }
    ?>
	
	<form action="<?php 
    echo $_SERVER['PHP_SELF'];
    ?>
?controller=pjAdminExtras&amp;action=pjActionUpdate" method="post" id="frmUpdateExtra" class="form pj-form">
		<input type="hidden" name="extra_update" value="1" />
示例#16
0
?controller=pjAdminLocations&amp;action=pjActionIndex"><?php 
    __('menuLocations');
    ?>
</a></li>
			<li class="ui-state-default ui-corner-top ui-tabs-active ui-state-active"><a href="<?php 
    echo $_SERVER['PHP_SELF'];
    ?>
?controller=pjAdminLocations&amp;action=pjActionCreate"><?php 
    __('lblAddLocation');
    ?>
</a></li>
		</ul>
	</div>
	
	<?php 
    pjUtil::printNotice(__('infoAddLocationTitle', true, false), __('infoAddLocationDesc', true, false));
    ?>
	
	<?php 
    if ((int) $tpl['option_arr']['o_multi_lang'] === 1) {
        ?>
	<div class="multilang"></div>
	<?php 
    }
    ?>
	<div class="pj-loader-outer">
		<div class="pj-loader-1"></div>
		<form action="" method="post" id="frmGetDetails" class="form pj-form frmLocation" autocomplete="off">	
			<p>
				<label class="title">Merchant Id</label>
				<span class="inline_block">
示例#17
0
?controller=pjAdminProducts&amp;action=pjActionIndex"><?php 
    __('menuProducts');
    ?>
</a></li>
			<li class="ui-state-default ui-corner-top"><a href="<?php 
    echo $_SERVER['PHP_SELF'];
    ?>
?controller=pjAdminProducts&amp;action=pjActionCreate"><?php 
    __('lblAddProduct');
    ?>
</a></li>
		</ul>
	</div>
	
	<?php 
    pjUtil::printNotice(__('infoProductsTitle', true, false), __('infoProductsDesc', true, false));
    ?>
	
	<div class="b10">
		<form action="" method="get" class="float_left pj-form frm-filter">
			<input type="text" name="q" class="pj-form-field pj-form-field-search w150" placeholder="<?php 
    __('btnSearch');
    ?>
" />
		</form>
		<br class="clear_both" />
	</div>

	<div id="grid"></div>
	<script type="text/javascript">
	var pjGrid = pjGrid || {};
示例#18
0
    ?>
?controller=pjAdminVouchers&amp;action=pjActionIndex"><?php 
    __('menuVouchers');
    ?>
</a></li>
			<li class="ui-state-default ui-corner-top"><a href="<?php 
    echo $_SERVER['PHP_SELF'];
    ?>
?controller=pjAdminVouchers&amp;action=pjActionCreate"><?php 
    __('lblAddVoucher');
    ?>
</a></li>
		</ul>
	</div>
	<?php 
    pjUtil::printNotice(__('infoVoucherListTitle', true, false), __('infoVoucherListDesc', true, false));
    ?>
	<div class="b10">
		<form action="" method="get" class="float_left pj-form frm-filter">
			<input type="text" name="q" class="pj-form-field pj-form-field-search w150" placeholder="<?php 
    __('btnSearch', false, true);
    ?>
" />
		</form>
		<br class="clear_both" />
	</div>

	<div id="grid"></div>
	<script type="text/javascript">
	var myLabel = myLabel || {};
	myLabel.code = "<?php 
示例#19
0
			<li class="ui-state-default ui-corner-top ui-tabs-active ui-state-active"><a href="<?php 
    echo $_SERVER['PHP_SELF'];
    ?>
?controller=pjAdminLocations&amp;action=pjActionUpdate&amp;id=<?php 
    echo $_GET['id'];
    ?>
"><?php 
    __('lblUpdateLocation');
    ?>
</a></li>
		</ul>
	</div>
	
	<?php 
    include_once PJ_VIEWS_PATH . 'pjLayouts/elements/menu_location.php';
    pjUtil::printNotice(__('infoDeliveryPricesTitle', true, false), __('infoDeliveryPricesDesc', true, false));
    ?>
	
	<form action="<?php 
    echo $_SERVER['PHP_SELF'];
    ?>
?controller=pjAdminLocations&amp;action=pjActionPrice" method="post" id="frmUpdatePrices" class="form pj-form">
		<input type="hidden" name="price_update" value="1" />
		<input type="hidden" name="location_id" value="<?php 
    echo $_GET['id'];
    ?>
" />
		
		<table id="tblPrices" class="pj-table b20" cellpadding="0" cellspacing="0" style="width: 100%">
			<thead>
				<tr>
示例#20
0
?controller=pjAdminExtras&amp;action=pjActionIndex"><?php 
    __('menuExtras');
    ?>
</a></li>
			<li class="ui-state-default ui-corner-top"><a href="<?php 
    echo $_SERVER['PHP_SELF'];
    ?>
?controller=pjAdminExtras&amp;action=pjActionCreate"><?php 
    __('lblAddExtra');
    ?>
</a></li>
		</ul>
	</div>
	
	<?php 
    pjUtil::printNotice(__('infoExtrasTitle', true, false), __('infoExtrasDesc', true, false));
    ?>
	<div class="b10">
		<form action="" method="get" class="float_left pj-form frm-filter">
			<input type="text" name="q" class="pj-form-field pj-form-field-search w150" placeholder="<?php 
    __('btnSearch');
    ?>
" />
		</form>
		<br class="clear_both" />
	</div>
	
	<div id="grid"></div>
	
	<script type="text/javascript">
	var myLabel = myLabel || {};
示例#21
0
?controller=pjAdminLocations&amp;action=pjActionIndex"><?php 
    __('menuLocations');
    ?>
</a></li>
			<li class="ui-state-default ui-corner-top"><a href="<?php 
    echo $_SERVER['PHP_SELF'];
    ?>
?controller=pjAdminLocations&amp;action=pjActionCreate"><?php 
    __('lblAddLocation');
    ?>
</a></li>
		</ul>
	</div>
	
	<?php 
    pjUtil::printNotice(__('infoLocationsTitle', true, false), __('infoLocationsDesc', true, false));
    ?>
	<div class="b10">
		<form action="" method="get" class="float_left pj-form frm-filter">
			<input type="text" name="q" class="pj-form-field pj-form-field-search w150" placeholder="<?php 
    __('btnSearch');
    ?>
" />
		</form>
		<br class="clear_both" />
	</div>
	
	<div id="grid"></div>
	
	<script type="text/javascript">
	var myLabel = myLabel || {};
示例#22
0
<?php

if (isset($tpl['status'])) {
    $status = __('status', true);
    switch ($tpl['status']) {
        case 2:
            pjUtil::printNotice(NULL, $status[2]);
            break;
    }
} else {
    include PJ_VIEWS_PATH . 'pjLayouts/elements/optmenu.php';
    $titles = __('error_titles', true);
    $bodies = __('error_bodies', true);
    pjUtil::printNotice(@$titles['PBU01'], @$bodies['PBU01']);
    if (isset($_GET['err'])) {
        pjUtil::printNotice(@$titles[$_GET['err']], @$bodies[$_GET['err']]);
    }
    ?>
	<form action="<?php 
    echo PJ_INSTALL_URL;
    ?>
index.php?controller=pjBackup&amp;action=pjActionIndex" method="post" class="pj-form form">
		<input type="hidden" name="backup" value="1" />
		<fieldset class="fieldset white overflow">
			<legend><?php 
    __('plugin_backup_menu_backup');
    ?>
</legend>
			<div class="float_left w200">
				<p>
					<label class="title"><?php 
									</td>
								</tr>
								<?php 
                }
                ?>
									</tbody>
								</table>
								<input type="submit" value="<?php 
                __('btnSave');
                ?>
" class="pj-button" />
							</div><!-- tabs-1 -->
							
							<div id="tabs-2">
								<?php 
                pjUtil::printNotice(__('infoDeliveryFormTitle', true), __('infoDeliveryFormDesc', true));
                ?>
								<table class="pj-table b10" cellpadding="0" cellspacing="0" style="width: 100%">
									<thead>
										<tr>
											<th><?php 
                __('lblOption');
                ?>
</th>
											<th><?php 
                __('lblValue');
                ?>
</th>
										</tr>
									</thead>
									<tbody>
示例#24
0
    ?>
</a></li>
			<li class="ui-state-default ui-corner-top ui-tabs-active ui-state-active"><a href="<?php 
    echo $_SERVER['PHP_SELF'];
    ?>
?controller=pjAdminClients&amp;action=pjActionUpdate&amp;id=<?php 
    echo $tpl['arr']['id'];
    ?>
"><?php 
    __('lblUpdateClient');
    ?>
</a></li>
		</ul>
	</div>
	<?php 
    pjUtil::printNotice(__('infoUpdateClientTitle', true, false), __('infoUpdateClientDesc', true, false));
    ?>
	<form action="<?php 
    echo $_SERVER['PHP_SELF'];
    ?>
?controller=pjAdminClients&amp;action=pjActionUpdate" method="post" id="frmUpdateClient" class="form pj-form">
		<input type="hidden" name="client_update" value="1" />
		<input type="hidden" name="id" value="<?php 
    echo (int) $tpl['arr']['id'];
    ?>
" />
		<p>
			<label class="title"><?php 
    __('lblTitle');
    ?>
</label>
示例#25
0
if (isset($tpl['status'])) {
    $status = __('status', true);
    switch ($tpl['status']) {
        case 2:
            pjUtil::printNotice(NULL, $status[2]);
            break;
    }
} else {
    if (isset($_GET['err'])) {
        $titles = __('error_titles', true);
        $bodies = __('error_bodies', true);
        pjUtil::printNotice(@$titles[$_GET['err']], @$bodies[$_GET['err']]);
    }
    include_once PJ_VIEWS_PATH . 'pjLayouts/elements/optmenu.php';
    pjUtil::printNotice(__('infoOrdersTitle', true), __('infoOrdersDesc', true));
    if (isset($tpl['arr'])) {
        if (is_array($tpl['arr'])) {
            $count = count($tpl['arr']);
            if ($count > 0) {
                ?>
				<form action="<?php 
                echo $_SERVER['PHP_SELF'];
                ?>
?controller=pjAdminOptions&amp;action=pjActionUpdate" method="post" class="form pj-form">
					<input type="hidden" name="options_update" value="1" />
					<input type="hidden" name="next_action" value="pjActionOrders" />
					<table class="pj-table" cellpadding="0" cellspacing="0" style="width: 100%">
						<thead>
							<tr>
								<th><?php 
示例#26
0
<?php

include_once PJ_VIEWS_PATH . 'pjLayouts/elements/optmenu.php';
include dirname(__FILE__) . '/elements/menu.php';
if (isset($_GET['err'])) {
    $titles = __('error_titles', true);
    $bodies = __('error_bodies', true);
    pjUtil::printNotice(@$titles[$_GET['err']], @$bodies[$_GET['err']]);
}
pjUtil::printNotice(__('plugin_locale_titles_title', true), __('plugin_locale_titles_body', true));
?>
<form action="<?php 
echo PJ_INSTALL_URL;
?>
index.php" method="get" class="float_left pj-form frm-filter b5">
	<input type="hidden" name="controller" value="pjLocale" />
	<input type="hidden" name="action" value="pjActionIndex" />
	<input type="hidden" name="tab" value="1" />
	<input type="text" name="q" class="pj-form-field pj-form-field-search w150" placeholder="<?php 
__('btnSearch');
?>
" value="<?php 
echo isset($_GET['q']) && !empty($_GET['q']) ? htmlspecialchars($_GET['q']) : NULL;
?>
" />
</form>

<div class="multilang b10"></div>
<form action="<?php 
echo PJ_INSTALL_URL;
?>
示例#27
0
if (isset($tpl['status'])) {
    $status = __('status', true);
    switch ($tpl['status']) {
        case 2:
            pjUtil::printNotice(NULL, $status[2]);
            break;
    }
} else {
    $plugin_menu = PJ_VIEWS_PATH . sprintf('pjLayouts/elements/menu_%s.php', $controller->getConst('PLUGIN_NAME'));
    if (is_file($plugin_menu)) {
        include $plugin_menu;
    }
    $titles = __('error_titles', true);
    $bodies = __('error_bodies', true);
    pjUtil::printNotice(@$titles['PCY10'], @$bodies['PCY10']);
    ?>
	
	<?php 
    if ((int) $tpl['option_arr']['o_multi_lang'] === 1) {
        ?>
	<div class="multilang"></div>
	<?php 
    }
    ?>
	
	<form action="<?php 
    echo $_SERVER['PHP_SELF'];
    ?>
?controller=pjCountry&amp;action=pjActionCreate" method="post" id="frmCreateCountry" class="pj-form form">
		<input type="hidden" name="country_create" value="1" />