本文整理汇总了PHP中css_asset函数的典型用法代码示例。如果您正苦于以下问题:PHP css_asset函数的具体用法?PHP css_asset怎么用?PHP css_asset使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了css_asset函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: Posts
function Posts()
{
parent::Controller();
$this->load->module_model('account', 'usermodel');
$this->load->model('forum_model');
$this->load->model('post_model');
$this->lang->load('forum');
$this->config->load('forums');
// Add a link to the forum CSS into the head
$this->template->extra_head(css_asset('forum.css', 'forum'));
$this->userID = getUserProperty('id');
$this->data = array('userID' => $this->userID, 'message' => '');
}
示例2: Topics
function Topics()
{
parent::Controller();
$this->load->module_model('account', 'usermodel');
$this->load->model('forum_model');
$this->load->model('post_model');
$this->lang->load('forum');
$this->config->load('forums');
// Add a link to the forum CSS into the head
$this->template->extra_head(css_asset('forum.css', 'forum'));
$this->userID = getUserProperty('id');
$this->data = array('userID' => $this->userID, 'message' => '');
if (isAdmin()) {
$this->template->navigation(array('Manage Categories' => 'forums/admin/categories', 'Manage Forums' => 'forums/admin/forums'));
}
}
示例3: viewOpen
function viewOpen()
{
?>
<!doctype html>
<!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ -->
<!--[if lt IE 7 ]> <html class="no-js ie6" lang="en"> <![endif]-->
<!--[if IE 7 ]> <html class="no-js ie7" lang="en"> <![endif]-->
<!--[if IE 8 ]> <html class="no-js ie8" lang="en"> <![endif]-->
<!--[if (gte IE 9)|!(IE)]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<!-- Always force latest IE rendering engine (even in intranet) & Chrome Frame
Remove this if you use the .htaccess -->
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<!-- Mobile viewport optimized: j.mp/bplateviewport -->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Place favicon.ico & apple-touch-icon.png in the root of your domain and delete these references -->
<link rel="shortcut icon" href="<?php
echo base_url();
?>
/favicon.ico">
<!-- CSS: implied media="all" -->
<?php
echo css_asset('style.css');
?>
<!-- Uncomment if you are specifically targeting less enabled mobile browsers
<link rel="stylesheet" media="handheld" href="css/handheld.css?v=2"> -->
<!-- All JavaScript at the bottom, except for Modernizr which enables HTML5 elements & feature detects -->
<?php
echo js_asset('libs/modernizr-1.7.min.js');
}
示例4: css_asset
<?php
echo css_asset('map.css');
?>
<body>
<div class="content-wrapper">
<div class="container">
<div class="col-lg-12">
<h1 class="page-header"></h1>
<div class="container-fluid">
<div class="row">
<div class="col-md-10 col-md-offset-1" >
<h1 class="page-header">
</h1>
<ol class="breadcrumb">
<li>
<i class="fa fa-dashboard"></i> <a href="<?php
echo base_url('index.php/student/menu');
?>
">หน้าหลัก</a>
</li>
<li class="active">
<i class="fa fa-table"></i><a href="<?php
echo base_url('index.php/document/menudocument');
?>
"> เมนูเอกสาร</a>
</li>
<li>
<i class="fa-angle-down"></i>แบบแจ้งรายละเอียดที่พัก
</li>
</ol>
示例5: css_asset
<?php
$cat_id = $this->input->get("cat_id");
if ($cat_id != '') {
?>
<?php
echo css_asset('bootstrap/bootstrap.min.css');
?>
<?php
echo css_asset('bootstrap/jquery-ui.css');
?>
<?php
echo css_asset('bootstrap/bootstrap-theme.min.css');
?>
<?php
echo js_asset('bootstrap/bootstrap.min.js');
?>
<?php
echo js_asset('bootstrap/jquery-ui.min.js');
?>
<?php
echo js_asset('bootstrap/enscroll-0.6.0.min.js');
?>
<style>
.accordion-group {
margin-bottom: 2px;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
示例6: css_asset
<!-- Custom CSS -->
<?php
echo css_asset('sb-admin.css');
?>
<!-- Custom Fonts -->
<link href="font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
<?php
echo css_asset('font-awesome.min.css');
?>
<title>
เข้าระบบสำหรับนักศึกษา
</title>
<?php
echo css_asset('backgr.css');
?>
</head>
<body>
<!-- Page Heading -->
<div class="row " >
<div class="col-md-6 col-md-offset-3">
<h1 class="page-header">
ระบบจัดการข้อมูล <small>การฝึกประสบการณ์วิชาชีพ</small>
</h1>
<ol class="breadcrumb">
<li class="active">
<i class="fa fa-dashboard"></i> Dashboard
</li>
</ol>
</div>
示例7: other_asset_url
<html>
<head>
<meta name="keywords" content="" />
<meta name="description" content="" />
<link rel="shortcut icon" href="<?php
echo other_asset_url('favicon.ico', 'default', 'image');
?>
" />
<?php
echo css_asset('easyhotspot.css', $this->config->item('EASYHOTSPOT_THEME'));
?>
<?php
echo css_asset('admin.css', $this->config->item('EASYHOTSPOT_THEME'));
?>
<?php
echo css_asset('jquery.datepick.css', $this->config->item('EASYHOTSPOT_THEME'));
?>
<?php
echo js_asset('jquery.js');
?>
<?php
echo js_asset('jquery.datepick.min.js');
?>
<?php
echo js_asset('flash.js');
?>
<title>EasyHotspot : <?php
echo $action;
?>
</title>
示例8: css_asset
<title>SB Admin - Bootstrap Admin Template</title>
<!-- Bootstrap Core CSS -->
<?php
echo css_asset('bootstrap.min.css');
?>
<!-- Custom CSS -->
<?php
echo css_asset('sb-admin.css');
?>
<!-- Custom Fonts -->
<?php
echo css_asset('font-awesome.min.css');
?>
<?php
echo js_asset('jquery-1.10.2.js');
?>
</head>
<body>
<div id="page-wrapper">
示例9: js_asset
echo js_asset("jquery.date_input.pack.js", "admin") . "\n";
?>
<?php
echo js_asset("tiny_mce/tiny_mce.js", "admin");
?>
<?php
echo js_asset("ajaxupload.js", "admin");
?>
<?php
echo js_asset("custom.js", "admin");
?>
<!--[if lt IE 8]><?php
echo css_asset("ie.css", "admin");
?>
<![endif]-->
</head>
<body>
<div id="hld">
<div class="wrapper"> <!-- wrapper begins -->
<?php
include "header.html";
?>
示例10: plugin_css_asset
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta content="" name="description" />
<meta content="" name="author" />
<!-- end: META -->
<!-- start: MAIN CSS -->
<?php
echo plugin_css_asset("admin/bootstrap/css/bootstrap.min.css");
echo plugin_css_asset("admin/font-awesome/css/font-awesome.min.css");
echo css_asset("admin/main.css");
echo css_asset("admin/main-responsive.css");
echo plugin_css_asset("admin/iCheck/skins/all.css");
echo plugin_css_asset("admin/bootstrap-colorpalette/css/bootstrap-colorpalette.css");
echo plugin_css_asset("admin/perfect-scrollbar/src/perfect-scrollbar.css");
echo css_asset("admin/theme_light.css");
echo css_asset("admin/print.css", null, array("media" => "print"));
?>
<link rel="stylesheet" href="<?php
echo other_asset_url("fonts/style.css");
?>
">
<!--[if IE 7]>
<?php
echo plugin_css_asset("admin/font-awesome/css/font-awesome-ie7.min.css");
?>
<![endif]-->
<!-- end: MAIN CSS -->
<!-- start: CSS REQUIRED FOR THIS PAGE ONLY -->
<?php
echo plugin_css_asset("admin/fullcalendar/fullcalendar/fullcalendar.css");
示例11: css_asset
?>
<?php
echo css_asset('bootstrap.min.css', 'bootstrap');
?>
<?php
echo css_asset('sass/app.css');
?>
<?php
echo css_asset('demos.css', 'jsgrid');
?>
<?php
echo css_asset('jsgrid.css', 'jsgrid');
?>
<?php
echo css_asset('theme.css', 'jsgrid');
?>
<?php
echo js_asset('jquery-1.11.1.min.js', 'bukku');
?>
<?php
echo js_asset('bootstrap.min.js', 'bootstrap');
?>
<?php
echo js_asset('db.js', 'jsgrid');
?>
<?php
echo js_asset('jsgrid.core.js', 'jsgrid');
示例12: css_asset
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>ยินดีต้อนรับสู่ปฏิทินล้นเกวียน</title>
<!-- Bootstrap core CSS -->
<?php
echo css_asset('lavish-bootstrap.css');
?>
<!-- Custom styles for this template -->
<?php
echo css_asset("navbar-fixed-top.css");
?>
<!-- JQuery -->
<?php
echo js_asset("bower_components/jquery/dist/jquery.js");
?>
<link rel="stylesheet" href="//code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.css">
<script src="//code.jquery.com/ui/1.11.4/jquery-ui.js"></script>
<script>
$(function() {
$("#datepicker").datepicker();
});
</script>
</head>
示例13: css_asset
<?php
echo css_asset('login.css');
?>
<body>
<div class="col-lg-12">
<h1 class="page-header"></h1>
<?php
echo form_open('student/login_system');
?>
<h1>เข้าระบบสำหรับนักศึกษา</h1>
<div class="inset">
<p>
<label for="id_st">รหัสนักศึกษา</label>
<div class="controls">
<div class="input-icon left">
<input type="text" name="id_st" id="id_st">
</div>
</div>
</p>
<p>
<label for="password">รหัสผ่าน</label>
<div class="controls">
<input type="password" name="password" id="password">
</div>
</p>
</div>
<p class="p-container">
<span>Forgot password ?</span>
<input type="submit" name="submit" id="submit" value="เข้าระบบ">
</p>
示例14: run_buy_count
function run_buy_count(id,max)
{
var st = 0;
if(max>10)
st = max-10;
setInterval(function() {
if(st<max) st++;
$("#buy_cout_" + id).html(st);
}, 50);
}
</script>
<?php
echo css_asset('slide/demo.css');
?>
<?php
echo css_asset('slide/style.css');
?>
<div class="header">
<div class="wrapper">
<div id="ei-slider" class="ei-slider">
<ul class="ei-slider-large">
<? foreach($slide as $image){?>
<li>
<?if(!empty($image["link"])){?>
<a target="_blank" href="<?php
echo $image["link"];
?>
">
<? } ?>
<?echo image_asset($image["large"], '', array('alt'=>$image["title"]));?>
示例15: css_asset
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title><?php
echo $judul;
?>
</title>
<?php
echo css_asset('site.css');
?>
</head>
<body>
<div style="margin-left:20px;margin-top:20px;margin-right:20px;">
<h2><?php
echo $judul;
?>
</h2>
<hr noshade size="1">
<?php
echo $display;
?>
<hr noshade size="1">
<center><?php
echo $navi;
?>
</center>
</div>
</body>
</html>