示例#1
0
 function __construct()
 {
     parent::__construct();
     if (!$this->session->userdata('lang')) {
         $this->session->set_userdata('lang', 'th');
     }
     $this->template->title('สำนักโรคติดต่อทั่วไป :: Bureau of General Communicable Department of Disease Control MOPH, Thailand');
     $this->session->userdata('th', "gcdnew");
     $this->session->userdata('en', "gcdeng");
     $this->template->set_theme('thaigcd2015');
     $this->template->set_layout('layout');
     // Set js
     $this->lang->load('admin');
     $this->template->append_metadata(js_notify());
     $this->template->append_metadata(js_lightbox());
     // set lang
     if (!$this->session->userdata('lang')) {
         $this->session->set_userdata('lang', 'th');
     }
     if (@$this->session->userdata('lang') == "th") {
         $this->lang->load('public', 'thai');
     } else {
         $this->lang->load('public', 'english');
     }
 }
示例#2
0
 function __construct()
 {
     parent::__construct();
     header('Content-type: text/html; charset=UTF-8');
     $this->template->title('DrTooth Dental Clinic');
     $this->template->set_theme('drtooth');
     $this->template->set_layout('layout');
     // Set js
     $this->lang->load('admin');
     $this->template->append_metadata(js_notify());
     // meta keywords
     // $this->template->append_metadata( meta('description','คลินิกทันตกรรมที่ให้บริการการดูแลรักษาฟันและโรคในช่องปากโดยทีมทันตแพทย์ที่เชี่ยวชาญเฉพาะทาง มีประสบการณ์ในการทำงาน'));
     // $this->template->append_metadata( meta('keywords','DrTooth,Dental,Clinic,ทันตกรรม,จัดฟัน,Damon,Invisalign,จัดฟันร่วมกับการผ่าตัด,ความงาม,ทันตกรรมประดิษฐ์,รากเทียม,ศัลยกรรม,ช่องปาก,โรคเหงือก,ขูดหินปูน,เคลือบผิวฟัน,เคลือบฟลูออไรด์,ฟอกสีฟัน,X-Ray,ถอนฟัน,ผ่าฟันคุด,ครอบฟัน,อุดฟัน'));
     // Set Language
     if (!$this->session->userdata('lang')) {
         $this->session->set_userdata('lang', 'th');
     }
     if (@$this->session->userdata('lang') == "th") {
         $this->lang->load('public', 'thai');
     } elseif (@$this->session->userdata('lang') == "en") {
         $this->lang->load('public', 'english');
     } else {
         $this->lang->load('public', 'china');
     }
 }
 function __construct()
 {
     parent::__construct();
     // Check Auth Login
     $this->template->title('Thaigcd.ddc.moph.go.th - ระบบแบบสอบถาม');
     $this->template->set_theme('question');
     $this->template->set_layout('layout');
     $this->lang->load('admin');
     $this->template->append_metadata(js_notify());
     $this->template->append_metadata(js_lightbox());
 }
 public function __construct()
 {
     parent::__construct();
     $this->template->title("ASEAN Cultural Mapping");
     $this->template->set_layout("admin/layout");
     $this->template->append_metadata(js_notify());
     if (user()->id < 1) {
         set_notify('error', 'กรุณาเข้าสู่ระบบ');
         redirect("admin/signin");
     }
     /*if(!permission("admin","extra")) {
     			set_notify('error', 'กรุณาเข้าสู่ระบบ');
     			redirect("admin/signin");
     		}*/
 }
示例#5
0
 public function __construct()
 {
     parent::__construct();
     $this->template->title(":: ระบบลงทะเบียนออนไลน์ :: สำนักจัดการความรู้ กรมควบคุมโรค");
     $this->template->set_layout("admin/layout");
     $this->template->append_metadata(js_notify());
     if (user()->id < 1) {
         set_notify('error', 'กรุณาเข้าสู่ระบบ');
         redirect("admin/signin");
     }
     /*if(!permission("admin","extra")) {
     			set_notify('error', 'กรุณาเข้าสู่ระบบ');
     			redirect("admin/signin");
     		}*/
 }
示例#6
0
 function __construct()
 {
     parent::__construct();
     // Check Auth Login
     if (!is_login('Administrator')) {
         redirect('users/admin/auth');
     }
     if (!is_auth()) {
         redirect('users/admin/auth/fail');
     }
     $this->template->set_theme('admin');
     // Set layout
     $this->template->set_layout('layout');
     // Load Langauge
     $this->lang->load('admin');
     // Set js
     $this->template->append_metadata(js_notify());
 }
示例#7
0
 function __construct()
 {
     parent::__construct();
     ini_set("memory_limit", "512M");
     // check login
     // if(!is_login('Administrator')) redirect('users/admin/auth/login');
     $this->template->set_theme('ace_admin');
     // Set layout
     $this->template->set_layout('layout');
     // Load Langauge
     $this->lang->load('admin');
     // Set Default Language
     $this->session->set_userdata('lang', 'th');
     // Set js
     $this->template->append_metadata(js_notify());
     // simple dom
     include 'media/simpledom/simple_html_dom.php';
 }
 function __construct()
 {
     parent::__construct();
     // Check Auth Login
     if (!is_login()) {
         set_notify('error', 'คุณไม่มีสิทธิเข้าใช้งานในส่วนนี้ค่ะ');
         redirect('home');
     } else {
         if (!is_publish('documents')) {
             set_notify('error', 'คุณไม่มีสิทธิเข้าใช้งานในส่วนนี้ค่ะ');
             redirect('home');
         }
     }
     $this->template->title('Thaigcd.ddc.moph.go.th - ระบบลงทะเบียนการประชุม');
     $this->template->set_theme('document');
     $this->template->set_layout('layout');
     $this->lang->load('admin');
     $this->template->append_metadata(js_notify());
     $this->template->append_metadata(js_lightbox());
 }
示例#9
0
 function __construct()
 {
     parent::__construct();
     header('Content-type: text/html; charset=UTF-8');
     $this->template->title('งานบริหารกองทุน สำนักงานปลัดกระทรวงการพัฒนาสังคมและความมั่นคงของมนุษย์.');
     $this->template->set_theme('fundv2');
     $this->template->set_layout('blank');
     // Set js
     $this->lang->load('admin');
     $this->template->append_metadata(js_notify());
     // Set Language
     if (!$this->session->userdata('lang')) {
         $this->session->set_userdata('lang', 'th');
     }
     if (@$this->session->userdata('lang') == "th") {
         $this->lang->load('public', 'thai');
     } elseif (@$this->session->userdata('lang') == "en") {
         $this->lang->load('public', 'english');
     } else {
         $this->lang->load('public', 'china');
     }
 }
示例#10
0
 function __construct()
 {
     parent::__construct();
     header('Content-type: text/html; charset=UTF-8');
     $this->template->title('Addfriend 2016');
     $this->template->set_theme('addfriend');
     $this->template->set_layout('layout');
     $this->template->title('หาเพื่อน หาแฟน หากิ๊ก หาคู่ หาเพื่อนเล่นเกม แลกไอดีไลน์ - Addfriend');
     // Set js
     $this->lang->load('admin');
     $this->template->append_metadata(js_notify());
     meta_description();
     $this->template->append_metadata(meta('keywords', "โสด,เหงา,LINE,instagram,facebook,whatsapp,BBM,Sticker,Sticker LINE,สติ๊กเกอร์,หาเพื่อน,หาแฟน,หากิ๊ก,หาคู่,แลกไอดีไลน์,หาเพื่อนไลน์,หาเพื่อน LINE,หาเพื่อน instagram,หาเพื่อน facebook,หาเพื่อน whatsapp,หาเพื่อน BBM,หาเพื่อนชาย,หาเพื่อนหญิง,หาเพื่อนเกย์,หาเพื่อนทอม,หาเพื่อนดี้,หาเพื่อนสาวประเภทสอง,หาเพื่อนหน้าตาดี,หาเพื่อนเล่นเกม,คุ้กกี้รัน,cookie run,เกมเศรษฐี,Let's Get Rich,LINE ranger"));
     // Set Language
     // if(!$this->session->userdata('lang')) $this->session->set_userdata('lang','th');
     //
     // if(@$this->session->userdata('lang') == "th"){
     // $this->lang->load('public','thai');
     // }elseif(@$this->session->userdata('lang') == "en"){
     // $this->lang->load('public','english');
     // }else{
     // $this->lang->load('public','china');
     // }
 }
			padding: 1px 15px;
			color: #A0A0A0;
		}

		.profile-img {
			width: 96px;
			height: 96px;
			margin: 0 auto 10px;
			display: block;
			-moz-border-radius: 50%;
			-webkit-border-radius: 50%;
			border-radius: 50%;
		}
	</style>
	<?php 
echo js_notify();
?>
</head>

<body style="background-color:#ddd; margin-top:100px;">

    <div class="container" style="margin-top:40px">
		<div class="row">
			<div class="col-sm-6 col-md-4 col-md-offset-4">
				<div class="panel panel-default">
					<div class="panel-heading">
						<strong>ASEAN CULTURAL MAPPING</strong>
					</div>
					<div class="panel-body">
						<form role="form" action="admin/signin/action" method="POST">
							<fieldset>
示例#12
0
 public function search_detail()
 {
     $data = '';
     $this->template->append_metadata(js_notify());
     $this->template->build('search_detail', $data);
 }