Example #1
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');
     // }
 }
Example #2
0
?>
    <meta http-equiv="Content-type" content="text/html; charset=utf-8" />

    <title><?php 
echo meta_title();
?>
</title>
    <meta name="title" content="<?php 
echo osc_esc_html(meta_title());
?>
" />
<?php 
if (meta_description() != '') {
    ?>
    <meta name="description" content="<?php 
    echo osc_esc_html(meta_description());
    ?>
" />
<?php 
}
if (function_exists('meta_keywords')) {
    ?>
    <?php 
    if (meta_keywords() != '') {
        ?>
        <meta name="keywords" content="<?php 
        echo osc_esc_html(meta_keywords());
        ?>
" />
    <?php 
    }
Example #3
0
osc_enqueue_script('theme-global');
osc_enqueue_script('theme-ui');
osc_enqueue_style('style', osc_current_web_theme_styles_url('style.css'));
?>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />

<title><?php 
echo meta_title();
?>
</title>
<meta name="title" content="<?php 
echo meta_title();
?>
" />
<meta name="description" content="<?php 
echo meta_description();
?>
" />
<meta http-equiv="Cache-Control" content="no-cache" />
<meta http-equiv="Expires" content="Fri, Jan 01 1970 00:00:00 GMT" />

<script type="text/javascript">
    var fileDefaultText = '<?php 
echo osc_esc_js(__('No file selected', 'realestate'));
?>
';
    var fileBtnText     = '<?php 
echo osc_esc_js(__('Choose File', 'realestate'));
?>
';
</script>
Example #4
0
echo $app['site_name'];
?>
">
    <meta property="og:title" content="<?php 
echo !empty($app['title']) ? $app['title'] : $app['site_name'];
?>
">
    <meta property="og:type" content="<?php 
echo !empty($app['og_type']) ? $app['og_type'] : 'website';
?>
">
    <?php 
if (!empty($app['description'])) {
    ?>
        <meta property="og:description" content="<?php 
    echo meta_description($app['description']);
    ?>
">
    <?php 
}
?>
    <?php 
if (!empty($app['image'])) {
    ?>
        <meta property="og:image" content="<?php 
    echo asset_url($app['image']);
    ?>
">
    <?php 
}
?>
Example #5
0
 public function profile($id)
 {
     $data['rs'] = new User($id);
     $this->template->title('หาเพื่อนไลน์ ' . $data['rs']->display_name . ' - Addfriend');
     // $this->template->append_metadata('<meta property="og:image" content="'.check_image_url($data['rs']->image,$data['rs']->facebook_id,$data['rs']->google_picture_link,"original").'" />');
     meta_description($data['rs']->detail);
     $this->db->close();
     $this->template->build('profile', $data);
 }
Example #6
0
/** 
* function to add head title and meta tags
*
*/
function osclasswizards_meta()
{
    ?>
<title><?php 
    echo osc_esc_html(meta_title());
    ?>
</title>
<?php 
    if (meta_description() != '') {
        ?>
<meta name="description" content="<?php 
        echo osc_esc_html(meta_description());
        ?>
" /><?php 
    }
    if (meta_keywords() != '') {
        ?>
<meta name="keywords" content="<?php 
        echo osc_esc_html(meta_keywords());
        ?>
" /><?php 
    }
}