/css/news.css" rel="stylesheet"> .main2{ margin-left:auto; position:static; } tr,table{


//my_helper.phpfunction dr_discuss_info($uid) { $ci = &get_instance(); $sql = "select imt_1_mall.*,imt_member_paylog.* from imt_1_mall,imt_member_paylog where imt_member_payl...


首页 #fileid_auth_image7 { position: absolute; left: 0; width: 100%; height: 90px;


1.文件上传//上传按钮隐藏#fileid_auth_image7 { position: absolute; left: 0; width: 100%; height: 90px; top: 80px; opacity: 0}//上传按钮 {fc_lang('导入数据')} 2.上传图片的js ...


1.导出功能的js{template nheader.html} function export_excel(){ var excel = top.dialog({title: lang["tips"],fixed: true,content: ' {fc_lang("您确定要这样操作吗?")}',okValue: lang['ok'],ok:...


public function import_excel($id){ $id = $this->input->get('id'); $file_name = dr_get_file($id); $f = fopen($file_name, 'r'); $columns...


首 页> 设计案例 户型 不 限 {loop $huxing_final $key $value} {if $key


{template "header.html", "/"} {template "nav.html", "/"} 船舶出售信息{if $member}发布出售{else}请先登录{/if} 船舶分类: 不限 ...


{template "header.html", "/"} {if !$member} window.location.href="/?s=member&c=login"; {/if} {template "nav.html", "/"}


public function mobilecode(){ $randcode = rand('100000','999999'); $_SESSION['randcode'] = $randcode; $phone = $this->input->get('phone'); $this...


1.定义与实例:回调函数就是调动函数的时候,将另外一个函数的名称当作参数传递进去,并且在函数体内进行调用(1)例1function study(){ echo "studying...";}function play(){ echo "playing...";}function sing(){ echo "singing...";}//回调...


{php $address_id =$address.0.id;}{php $url = urlencode("http://a3lsewts.site.s1.mutaoinc.net/index.php?s=order&c=cart&m=address_edit&id=$address_id");}{php $addr =$_GET['addr'];}{p...


file_put_contents(__DIR__ . '/test.txt', "$oids $money $id");


$data = $this->db->select('*')->order_by('inputtime','desc')->limit(300,0)->get_where("imt_member_scorelog",array('uid'=>$this->uid))->result_array();


//功能:计算两个时间戳之间相差的日时分秒//$begin_time 开始时间戳//$end_time 结束时间戳function timediff($begin_time,$end_time){ if($begin_time < $end_time){ $starttime = $begin_time; $end...


//如果买桶 桶加入此人账户 //查询该订单的桶信息 $buckets = dr_imt_1_order_buckets($order_id); //如果有桶 if($buckets){ //如...


$a=array('uid'=>1,'zhang'=>2,'li'=>3);$b=array('uid'=>1,'wang'=>12,'liu'=>13);$c =$a+$b;var_dump($a+$b);array(5) { ["uid"]=> int(1) ["zhang"]=> int(2) ["li"]=> int(3) ["wang"]=> in...


方法一:$this->db->query("sql 语句"); 直接写sql语句方法二:#多表关联查询$data=$this->db->from('goods')->join('shop','shop.shopid=goods.shopid')->join('category','category.cid=goods.cid')->join('lo...


class Wechat_model extends CI_Model { public function __construct() { parent::__construct(); $this->appid = 'wxe5df2d864b88ea30'; $this->secret = '18f5f2800...


{php $old_record_id = $_COOKIE['record_id'];}{list action=sql sql='select max(id) as record_id from imt_1_order_uid_record where uid=$member.uid and dispatch_degree