示例#1
0
文件: fonts.php 项目: piranon/gae
<?php

require_once "../../root_basedata/root_basedata.php";
header("Connection: Keep-Alive:max=0");
header("Access-Control-Allow-Origin: *");
header("Content-type: text/css");
//$font_base_url = "http://localhost/gae/root_sitefiles/fonts/";
$font_base_url = root_sitefiles_url() . "fonts/";
$fontData = array(array("100", "ultralight"), array("200", "extralight"), array("300", "light"), array("400", "light"), array("normal", "regular"));
foreach ($fontData as $index => $row) {
    echo "@font-face {\n      font-family: 'ThaiSans Neue';\n      font-style: normal;\n      font-weight: " . $row[0] . ";\n      src: local('ThaiSans Neue " . $row[1] . "'), local('ThaiSans-Neue-" . $row[1] . "'), url(" . $font_base_url . "ThaiSans%20Neue%20v1.0/Woff/thaisansneue-" . $row[1] . "-webfont.woff) format('woff');\n      unicode-range: U+0E00-U+0E7F;\n    }\n    ";
}
?>



示例#2
0
?>
js/jquery/jquery.animateNumber.min.js"></script>
    <script src="<?php 
echo root_ngservices_url();
?>
gurl/GURL.js"></script>
    <script src="<?php 
echo root_ngservices_url();
?>
gaeui/GAEUI.js"></script>
    <link rel="stylesheet" href="<?php 
echo root_sitefiles_url();
?>
flat-ui/flat-ui-custom.css" /> 
    <link rel="shortcut icon" href="<?php 
echo root_sitefiles_url();
?>
ui/flat-ui/dist/img/favicon.ico">
    <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
    <!--[if lt IE 9]>
      <script src="../dist/js/vendor/html5shiv.js"></script>
      <script src="../dist/js/vendor/respond.min.js"></script>
    <![endif]-->
  </head>
  <body>
    <style type="text/css">
        /* btn  : START*/
        .rad_btn{
            color: white;
            margin: 0px 10px;
            font-size: 14px;
示例#3
0
文件: gaeui-doc.php 项目: piranon/gae
<?php

$docs_dir_url = root_sitefiles_url() . "flat-ui/UI/pro/docs/";
?>
<style type="text/css">
  .container{  position: relative;  margin: 0px auto; padding: 40px 0px; }
</style>
<script type="text/javascript">
    function redirectTo(url){
      window.location.href = url;
    }
</script>
 <div class="container" >
        <div class="demo-content">
        <ul class="nav nav-tabs">
            <li  ><a href="#"  onclick="redirectTo('<?php 
echo $curModule->app_url();
?>
start/allui')" >ALL UI Element</a></li>
            <li class="active"><a href="#" onclick="redirectTo('<?php 
echo $curModule->app_url();
?>
start/gaeui')">GAEUI Component</a></li>
        </ul> <!-- /tabs -->
      </div>
    </div> <!-- /row -->

    <div class="container">
       	<div class="demo-row demo-buttons">
        	<div class="demo-title">
         		<h2 class="demo-panel-title text-gae-primary">GAEUI</h2>
示例#4
0
function root_fontcss_url()
{
    //return "http://128.199.139.181/gae/root_sitefiles/css/fonts.css";
    return root_sitefiles_url() . "css/fonts.php";
    //return "http://128.199.139.181/gae/root_sitefiles/css/fonts.php";
}
示例#5
0
 public function moduleItemGenerate($curpage, $index)
 {
     $imageNameArray = array("bird", "camera", "apple", "bag", "amulet", "bicycle", "beerhall", "coffee", "computer", "bathrooms", "beerhall", "drug", "fastfoods", "doll", "dog", "games", "gun", "hats", "haircut", "graduation", "golf");
     $cIndex = $index;
     $arraySize = sizeof($imageNameArray) - 1;
     do {
         if ($cIndex > $arraySize) {
             $cIndex = $cIndex - sizeof($imageNameArray);
         }
     } while ($cIndex > $arraySize);
     $imageName = $imageNameArray[$cIndex];
     $moduleItem = array("product_id" => $curpage . "0" . $index, "image" => root_sitefiles_url() . "images/testcategory/" . $imageName . "_color.svg", "support_data" => $this->getImageButtonArray($imageName), "type" => "addon", "name" => "addon - name - " . $index, "price" => 100 + $index * 10, "currency" => "THB", "is_selected" => rand(0, 1));
     return $moduleItem;
 }