예제 #1
0
 }
 public function _remap($m_Name)
 {
     switch ($m_Name) {
         default:
             $this->create();
     }
 }
 private function create()
 {
     $data = array();
     $data['title'] = lang('R_ADVEFFECTIVITY_TITLE');
     $data['orid'] = $this->get_orid();
     $data['ds'] = null;
     $data['r_body_title'] = null;
     $this->set_validation();
예제 #2
0
<?php

echo form_input($scr_p, get_companyname_byrid(set_value($val_p, $default_value)), 'id="' . $scr_p . '" class="text" readonly="readonly" style="width:150px;"');
echo form_hidden($val_p, set_value($val_p, $default_value));
?>
<span style="vertical-align:middle; margin-left: 3px;">
<?php 
echo anchor_popup('advertisescompanies/vjournal/go/val_p/' . $val_p . '/scr_p/' . $scr_p, img('public/img/icons/refresh.gif'), array('title' => lang('SELECT_BTN'), 'id' => "sbtn_{$val_p}", 'name' => "sbtn_{$val_p}", 'width' => '950', 'height' => '600'));
?>
<?if($show_details) { ?>
	<?php 
echo anchor_popup("advertisescompanies/vedit/'+\$('input[name=\\'{$val_p}\\']').val()+'", img('public/img/icons/edit.gif'), array('title' => lang('DETAILS_BTN'), 'id' => "sbtn_{$val_p}_details", 'name' => "sbtn_{$val_p}_details", 'width' => '950', 'height' => '600'));
?>
<? } ?>
<?php 
echo anchor('', img('public/img/icons/close_dashboard.gif'), 'title="' . lang('CLEAR_BTN') . '" id="cbtn_' . $val_p . '" name="cbtn_' . $val_p . '"');
?>
</span>  
<script type="text/javascript">
$(document).ready(
		function(){
			$('#cbtn_<?php 
echo $val_p;
?>
').click(function(){
				$("input[name='<?php 
echo $val_p;
?>
']").val('');
				$('#<?php 
echo $scr_p;
예제 #3
0
echo form_label(lang('DATE_DOC'), 'date_doc');
?>
	</div>
	<div class="column span-20 last">
		<?php 
echo form_input('date_doc', date_conv(set_value('date_doc', $ds->date_doc)), 'id="date_doc" class="text date-entry" readonly="readonly"');
?>
	</div>	
</fieldset>

<div class="column span-4">
	<?php 
echo form_label(lang('BDATE'), 'bdate');
?>
</div>
<div class="column span-20 last">
	<?php 
echo form_input('bdate', date_conv(set_value('bdate', $ds->bdate)), 'id="bdate" class="text date-entry" readonly="readonly"');
?>
</div>
<div class="column span-4">
	<?php 
echo form_label(lang('EDATE'), 'edate');
?>
</div>
<div class="column span-20 last">
	<?php 
echo form_input('edate', date_conv(set_value('edate', $ds->edate)), 'id="edate" class="text date-entry" readonly="readonly"');
?>
</div>
<div class="column span-4">