Changeset 771
- Timestamp:
- Mar 2, 2015 12:48:54 PM (10 years ago)
- Location:
- pro-violet-viettel/sourcecode/application/modules
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
pro-violet-viettel/sourcecode/application/modules/admin/controllers/reportprovince.php
r761 r771 102 102 $writer->save('php://output'); 103 103 } 104 104 public function test() 105 { 106 $input['date']=1; 107 $input['month']=1; 108 $input['year']=2014; 109 $input['to_month']=1; 110 $input['to_year']=2015; 111 $input['to_date']=15; 112 $data=$this->reportmodel->exportPackage($input); 113 echo "<pre>"; 114 print_r ($data); 115 echo "</pre>"; 116 } 105 117 } -
pro-violet-viettel/sourcecode/application/modules/ajax/controllers/privatecontent.php
r686 r771 39 39 40 40 public function getContent () { 41 $xmlData = $this->vservices->getPrivateTree(); 42 43 41 $xmlData = $this->vservices->getPrivateTree(); 42 //echo $xmlData;die(); 43 $this->xml->parse($xmlData); 44 44 45 45 $aryDirs = array(); … … 71 71 if (is_array($this->xml->tree->filelist->file)) { 72 72 foreach($this->xml->tree->filelist->file as $key=>$value){ 73 $aryFiles[] = array(' id' => $value->_param['id'], 'name' => $value->_value, 'parentID' => $value->_param['parentid'] == -1 ? 0:$value->_param['parentid'], 'minetype' => $value->_param['filetype']);73 $aryFiles[] = array('fileurl' => $value->_param['fileurl'], 'id' => $value->_param['id'], 'name' => $value->_value, 'parentID' => $value->_param['parentid'] == -1 ? 0:$value->_param['parentid'], 'minetype' => $value->_param['filetype']); 74 74 } 75 75 }else { 76 76 $file = $this->xml->tree->filelist->file; 77 $aryFiles[] = array(' id' => $file->_param['id'], 'name' => $file->_value,'parentID' => $file->_param['parentid'] == -1 ? 0:$file->_param['parentid'], 'minetype' => $file->_param['filetype']);77 $aryFiles[] = array('fileurl' => $value->_param['fileurl'],'id' => $file->_param['id'], 'name' => $file->_value,'parentID' => $file->_param['parentid'] == -1 ? 0:$file->_param['parentid'], 'minetype' => $file->_param['filetype']); 78 78 } 79 79 } -
pro-violet-viettel/sourcecode/application/modules/frontend/controllers/user.php
r765 r771 412 412 $data['user']= array_merge($user,$local); 413 413 $this->lang->load('messages', 'message'); 414 $admin=$this->session->userdata('adminInfo'); 415 $roles=array(); 416 foreach ($admin['roles'] as $role) 417 { 418 $roles[]=$role['role_name']; 419 } 420 $data['roles']=$roles; 414 421 $data['provinces'] = lang('_PROVINCES_'); 415 422 $result['modal']=$this->load->view('frontend/user_infor', $data, TRUE);
Note: See TracChangeset
for help on using the changeset viewer.