" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"> <div class="modal-dialog" role="document"> <div class="modal-content"> <div class="modal-header"> <button type="button" id="modelhide" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button> <h5 class="modal-title" id="myModalLabel">Re-Allocate Mobile Number</h5> </div> <form method="post"> <div class="modal-body"> <p>Mobile*<br> <select name="mobileNo" id="mobileNo" class="form-control drop_down"> <option value="<?php echo $row["mobile_no"]; ?> " readonly><?php echo getMobile($row["mobile_no"]); ?> </option> </select> </p> <p>Branch<br> <select name="branch" id="branch" class="form-control drop_down"> <option label="" value="" selected="selected">Select Branch</option> <?php $Country = mysql_query("select * from tblbranch"); while ($resultCountry = mysql_fetch_assoc($Country)) { ?> <option value="<?php echo $resultCountry['id']; ?> " ><?php
<div class="form-group"> <label for="dateofpurchase" class="col-sm-2 control-label">Mobile <span class="red">*</span></label> <div class="col-sm-10" id="divMobile"> <select name="mobile_no" id="mobile_no" class="form-control drop_down"> <option value="">Select Mobile</option> <option value="<?php echo $result['mobile_no']; ?> " <?php if (isset($result['id']) && $result['mobile_no'] == $result['mobile_no']) { ?> selected<?php } ?> ><?php echo getMobile(stripslashes(ucfirst($result['mobile_no']))); ?> </option> </select> </div> </div> <div class="form-group"> <label for="dateofpurchase" class="col-sm-2 control-label">Device Id <span class="red">*</span></label> <div class="col-sm-10" id="divDevice"> <select name="device" id="device" class="form-control drop_down" onChange="return ShowIMEIandDeviceName();"> <option value="">Select Device</option> <option value="<?php echo $result['device_id']; ?> " <?php
?> .</small></td> <td><small><?php echo stripslashes($row["CustId"]); ?> </small></td> <td><small><?php echo stripslashes($row["C_name"]); ?> </small></td> <td><small><?php echo stripslashes($row["V_no"]); ?> </small></td> <td><small><?php echo getMobile(stripslashes($row["Mob"])); ?> </small></td> <td><small><?php echo stripslashes($row["D_id"]); ?> </small></td> <td><small><?php echo stripslashes($row["model"]); ?> </small></td> <td><small><?php echo stripslashes($row["I_date"]); ?> </small></td> <td><small><?php
/** * action forward apply layout **/ public function triggerApplyLayout(&$oModule) { if(!$oModule || $oModule->getLayoutFile()=='popup_layout.html') return new Object(); if(Context::get('module')=='admin') return new Object(); if(in_array(Context::getRequestMethod(),array('XMLRPC','JSON'))) return new Object(); if($oModule->act == 'dispMemberLogout') return new Object(); $site_module_info = Context::get('site_module_info'); if(!$site_module_info || !$site_module_info->site_srl || $site_module_info->mid != $this->shop_mid) return new Object(); $oModuleModel = getModel('module'); $xml_info = $oModuleModel->getModuleActionXml('shop'); if($oModule->mid == $this->shop_mid && isset($xml_info->action->{$oModule->act})) return new Object(); $oShopView = getView('shop'); Context::set('layout',NULL); // When shop pages are accessed from other modules (a page, for instance) // Load the appropriate layout: // - tool: backend // - service: frontend if(strpos($oModule->act, "ShopTool") !== FALSE || in_array($oModule->act, array('dispMenuAdminSiteMap'))) { $oShopView->initTool($oModule, TRUE); } else { if(Mobile::isFromMobilePhone()) { $oShopView = &getMobile('shop'); } $oShopView->initService($oModule, TRUE); } return new Object(); }
function dispPageAdminMobileContent() { if ($this->module_info->page_type == 'OUTSIDE') { return $this->stop(-1, 'msg_invalid_request'); } if ($this->module_srl) { Context::set('module_srl', $this->module_srl); } $oPageMobile =& getMobile('page'); $oPageMobile->module_info = $this->module_info; $page_type_name = strtolower($this->module_info->page_type); $method = '_get' . ucfirst($page_type_name) . 'Content'; if (method_exists($oPageMobile, $method)) { if ($method == '_getArticleContent' && $this->module_info->is_mskin_fix == 'N') { $oModuleModel = getModel('module'); $oPageMobile->module_info->mskin = $oModuleModel->getModuleDefaultSkin('page', 'M'); } $page_content = $oPageMobile->{$method}(); } else { return new Object(-1, sprintf('%s method is not exists', $method)); } Context::set('module_info', $this->module_info); Context::set('page_content', $page_content); $this->setTemplateFile('mcontent'); }
?> > <td><small><?php print $kolor++; ?> .</td> <td><small><?php echo stripslashes($row["serviceprovider"]); ?> </small></td> <td><small><?php echo getSimNO(stripslashes($row["sim_id"])); ?> </small></td> <td><small><?php echo getMobile(stripslashes($row["sim_id"])); ?> </small></td> <td><small><?php echo stripslashes($row["assigned_date"]); ?> </small></td> <td><small><?php echo stripslashes($stock); ?> </small></td> <td><input type='checkbox' name='linkID[]' value='<?php echo $row["sim_id"]; ?> '></td> </tr>
/** * @brief action forward apply layout **/ function triggerApplyLayout(&$oModule) { if (!$oModule || $oModule->getLayoutFile() == 'popup_layout.html') { return new Object(); } if (Context::get('module') == 'admin') { return new Object(); } if (in_array(Context::getRequestMethod(), array('XMLRPC', 'JSON'))) { return new Object(); } if ($oModule->act == 'dispMemberLogout') { return new Object(); } $site_module_info = Context::get('site_module_info'); if (!$site_module_info || !$site_module_info->site_srl || $site_module_info->mid != $this->textyle_mid) { return new Object(); } $oModuleModel =& getModel('module'); $xml_info = $oModuleModel->getModuleActionXml('textyle'); if ($oModule->mid == $this->textyle_mid && isset($xml_info->action->{$oModule->act})) { return new Object(); } $oTextyleModel =& getModel('textyle'); $oTextyleView =& getView('textyle'); Context::set('layout', null); if ($oTextyleModel->isAttachedMenu($oModule->act)) { $oTextyleView->initTool($oModule, true); } else { if (Mobile::isFromMobilePhone()) { $oTextyleView =& getMobile('textyle'); } $oTextyleView->initService($oModule, true); } return new Object(); }