مبدأ : </td> <td> <select id="smabda_id" name="smabda_id" class="inp" > <?php echo loadCities($smabda_id); ?> </select> </td> <td> مقصد : </td> <td> <select id="smaghsad_id" name="smaghsad_id" class="inp" > <?php echo loadCities($smaghsad_id); ?> </select> </td> <td align="left" > دوطرفه : </td> <td> <input type="checkbox" id="domasire" name="domasire" <?php echo $domasire ? "checked=\"checked\"" : ""; ?> /> </td> </tr> <tr> <td>
<td> </td> </tr> <tr > <td> <select id="smabda_id" name="smabda_id" class="ser" > <?php echo loadCities(-1); ?> </select> </td> <td> <select id="smaghsad_id" name="smaghsad_id" class="ser" > <?php echo loadCities(-1); ?> </select> </td> <td> <input onblur="correctDate(this);" autocomplete="off" class="ser dateValue" style="direction:ltr;" type="text" id="saztarikh" name="saztarikh" value="<?php echo jdate('Y/m/d', strtotime(date("Y-m-d"))); ?> "/> </td> <td> <input onblur="correctDate(this);" autocomplete="off" class="ser dateValue" style="direction:ltr;" type="text" id="statarikh" name="statarikh" value="<?php echo jdate('Y/m/d', strtotime(date("Y-m-d") . " +15 day ")); ?> "/> </td>
<?php // +---------------------------------------------------------------------- // | Demila [ Beautiful Digital Content Trading System ] // +---------------------------------------------------------------------- // | Copyright (c) 2015 http://demila.org All rights reserved. // +---------------------------------------------------------------------- // | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 ) // +---------------------------------------------------------------------- // | Email author@demila.org // +---------------------------------------------------------------------- _setView(__FILE__); _setTitle($langArray['view']); if (!isset($_GET['id']) || !is_numeric($_GET['id'])) { refresh('?m=' . $_GET['m'] . '&c=list', 'WRONG ID', 'error'); } require_once ROOT_PATH . "/apps/bulletin/models/bulletin.class.php"; $cms = new bulletin(); $data = $cms->get($_GET['id']); if ($data['send_to'] == 'city') { $cities = loadCities(); $data['send_city'] = $cities[$data['send_id']]['name']; } elseif ($data['send_to'] == 'group') { $bulletinGroupsClass = new bulletinGroups(); $bGroup = $bulletinGroupsClass->get($data['send_id']); $data['send_group'] = $bGroup['name']; } abr('data', $data); require_once ROOT_PATH . '/apps/lists/leftlist_admin.php';
</tr> <tr > <td style="width:20%" > <select id="smabda" name="smabda" class="ser" onchange="loadMaghsad(this)" style="width:100%" > <?php //echo loadCities(isset($_REQUEST['smabda'])?(int)$_REQUEST['smabda']:-1); echo loadCities(); ?> </select> </td> <td style="width:20%" > <div id="div_maaghsad" > <select id="smaghsad" name="smaghsad" class="ser" style="width:100%" > <?php //echo loadCities(isset($_REQUEST['smaghsad'])?(int)$_REQUEST['smaghsad']:-1); echo loadCities(); ?> </select> </div> </td> <td> <input onblur="correctDate(this);" autocomplete="off" class="form-control ser dateValue" style="direction:ltr;" type="text" id="saztarikh" name="saztarikh" value="<?php echo isset($_REQUEST['saztarikh']) ? trim($_REQUEST['saztarikh']) : jdate('Y/m/d', strtotime(date("Y-m-d"))); ?> " /> </td> <td style="display: none;" class="tarikh_back_td" > <input onblur="correctDate(this);" autocomplete="off" class="form-control ser dateValue" style="direction:ltr;" type="text" id="statarikh" name="statarikh" value="<?php echo isset($_REQUEST['statarikh']) ? trim($_REQUEST['statarikh']) : jdate('Y/m/d', strtotime(date("Y-m-d") . " +15 day ")); ?> " />