function dotImg($e) { $path = iszh('../', 're') . 'includes/img/' . $e . '.png'; $html = '<img src="' . $path . '">'; return $html; // Ans: <img src="pic.png"> }
<style> .lab_name{font-weibht:bold;} #documentation li{line-height:50px;} p{text-align:justify;} h3{margin-bottom:10px;} <?php iszh('p{font-size:15px;}'); ?> #documentation{font-size:13px; height:100%} #documentation > div{width:auto; height:100%; margin:0 auto 0 auto;} .report{border:1px solid lightgray; height:410px; float:left; width:250px; margin:10px 10px 20px 10px; padding:20px 10px 10px 10px;} .report:hover{border:1px solid gray;} .report_inner{text-align:center;} .description{text-align:left; padding:20px;} /* #documentation > div{border:1px solid orange;} .report{border:1px solid red;} .report_inner{border:1px solid yellow;} */ </style> <?php function click2dl() { ec('Click to download', '點擊下載'); } ?> <div id="documentation" class="page_content"> <div> <div class="report">
<style> <?php iszh('p{font-weight:400;}'); ?> .hidden { display: none!important; } li { font-size: 12px; font-weight: 100; list-style: none; } </style> <div id="page_singalProductTab"> <div class="htmltabs"> <!-- The tabs --> <ul class="tabUL"> <li class="tabIndex"> <a> <?php ec('Description', '簡介'); ?> </a> </li> <li class="tabIndex"> <a> <?php ec('Instructions', '使用步驟');
<style> h3{margin-top:50px;} li, p{text-align:justify;} #logo_sf{margin-left:20px; height:40px;} #logo_ta-q-bin{margin-left:20px; height:30px;} <?php iszh('p, li{font-size:15px;}'); ?> </style> <div id="page_shippingFee" class="page_content"> <?php ec(' <h2>Shipping fee & Delivery method</h2> <h3>(1) From Hong Kong to Hong Kong (Local)</h3> <p>Shipping Option: TA-Q-BIN<img src="profiles/commerce_kickstart/themes/commerce_kickstart_theme/images/Logo_ta-q-bin.png" id="logo_ta-q-bin"> <br>I.S. Natura Processing Time: 1 business day <br>Carrier Delivery Time: 1-2 business days <br>Delivery Cost: HKD $20</p> <h3>(2) From Shenzhen / Guangzhou to Mainland</h3> <p>Shipping Option: S.F. Express<img src="profiles/commerce_kickstart/themes/commerce_kickstart_theme/images/Logo_SF.png" id="logo_sf"> <br>I.S. Natura Processing Time: 1 business day <br>Carrier Delivery Time: 1-2 business days <br>Delivery Cost: RMB $10</p> <ol style="list-style-type:lower-roman;"><strong>**Notes:</strong> <li>Please allow 1 business day for administrative and handling process made by I.S. Natura.</li>
?> includes/img/hs_red3.png"></div> <div class="historyPoint" id="year2006"><img src="<?php iszh('../'); ?> includes/img/hs_blue.png"></div> <div class="historyPoint" id="year2007"><img src="<?php iszh('../'); ?> includes/img/hs_green.png"></div> <div class="historyPoint" id="year2011"><img src="<?php iszh('../'); ?> includes/img/hs_orange.png"></div> <div class="historyPoint" id="year2013"><img src="<?php iszh('../'); ?> includes/img/hs_green2.png"></div> </div> <div id="historyDescription"> <div class="historyDescription"> <div id="inidialText"><?php ec('Hover dots to see our history', '點選圓點顯示內容'); ?> </div> </div> </div> <div id="historyContent"> <div class="year1984 historyHide">
profiles/commerce_kickstart/themes/commerce_kickstart_theme/images/sc/TagText8_Exercise<?php iszh('_zh'); ?> .png"></div> <div class="tag tagR" id="tagR4"><img src="<?php iszh('../'); ?> profiles/commerce_kickstart/themes/commerce_kickstart_theme/images/sc/TagText9_Other<?php iszh('_zh'); ?> .png"></div> <div class="tag tagR" id="tagR5"><img src="<?php iszh('../'); ?> profiles/commerce_kickstart/themes/commerce_kickstart_theme/images/sc/TagText10_MineralDeficiency<?php iszh('_zh'); ?> .png" class="last"></div> <div class="scienceLayer scienceLayerL"><div class="scienceLayerInner scienceLayerInnerL"> </div></div> <div class="scienceLayer scienceLayerR"><div class="scienceLayerInner scienceLayerInnerR"> </div></div> </div> <!-- !HTML !-->
#submit_div{width:250px;} .warnMsg{color:orange;} <?php iszh('div{font-size:15px;}'); ?> </style> <div id="contactUs" class="page_content"> <!-- Never refresh because of AJax--> <form id="frm_contactUs" action=""> <div> <div id="contactUsResult"></div> <input type="hidden" name="lang" value="<?php iszh('1'); ?> "> <input type="hidden" name="act" value="insert2DB"> <div class="contactRow"> <div><?php ec('Civility', '稱呼'); ?> </div> <div> <select name="civility"> <option value="mr"><?php ec('Mr', '先生'); ?> </option> <option value="mrs"><?php
/* Start -------------------- */ // bun.php include 'bun.php'; // Google Analytics drupal_add_js(base_path() . path_to_theme() . '/js/googleAnalytics.js', array('type' => 'file', 'scope' => 'header', 'type' => 'external')); // jQuery /* drupal_add_js('http://code.jquery.com/jquery-1.10.2.min.js', array('type' => 'file', 'scope' => 'header', 'type' => 'external')); */ // jquery-migrate.js /* drupal_add_js('http://code.jquery.com/jquery-migrate-1.2.1.min.js', array('type' => 'file', 'scope' => 'header', 'type' => 'external')); */ // bun2013.js drupal_add_js('//bunnywong.com/js/bun2013.js', array('type' => 'file', 'scope' => 'header', 'type' => 'external')); // [in] bun.js drupal_add_js(base_path() . iszh('../') . 'profiles/commerce_kickstart/themes/commerce_kickstart_theme/js/bun.js', array('type' => 'file', 'scope' => 'header')); /** * Preprocess variables for html.tpl.php * * @see system_elements() * @see html.tpl.php */ function commerce_kickstart_theme_preprocess_html(&$variables) { // Add conditional stylesheets for IE drupal_add_css(path_to_theme() . '/css/commerce-kickstart-theme-ie-lte-8.css', array('group' => CSS_THEME, 'weight' => 23, 'browsers' => array('IE' => 'lte IE 8', '!IE' => FALSE), 'preprocess' => FALSE)); drupal_add_css(path_to_theme() . '/css/commerce-kickstart-theme-ie-lte-7.css', array('group' => CSS_THEME, 'weight' => 24, 'browsers' => array('IE' => 'lte IE 7', '!IE' => FALSE), 'preprocess' => FALSE)); // Add external libraries. drupal_add_library('commerce_kickstart_theme', 'selectnav'); } /**
<style> #page_faq{padding-right:20px;} li{list-style-type:decimal; line-height:30px;} li, p{text-align:justify;} #page_faq > div{margin-bottom:50px; } <?php iszh('li, p{font-size:15px;}'); ?> </style> <div id="page_faq" class="page_content"> <div> <h3><?php ec('How to buy', '如何購買'); ?> </h3> <ul> <li><?php ec('Start by selecting the “<a href="/products">Product</a>” page from our website.', '請先選擇“產品”'); ?> </li> <li><?php ec('Next select the product you are interested in and the product description page will open.', '擇選你有興趣的產品,產品說明頁面將打開'); ?> </li> <li><?php ec('Read the product description and enter order quantity', '細閱產品說明並輸入訂購數量'); ?> </li> <li><?php ec('Press "Add to cart" button which next to quantity box', '按“加至購物車”按鈕'); ?>
text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.6); box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.3); -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.3); -moz-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.3); -o-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.3); -webkit-transform: rotate(-1deg); -moz-transform: rotate(-1deg); font-family: 'Schoolbell', cursive; margin: 1.618em; font-size: 1.142em; color: #554444; max-width: 340px; min-width: 250px; } <?php iszh('#about-us_title > div:first-child{font-size:40px;}'); ?> </style> <div id="page_about-us" class="page_content"> <div class="LRwrap"> <div id="about-us_title"> <div><strong><?php ec('Nature’s Miracles', '大自然的奇蹟'); ?> </strong></div> <div><?php ec('Science, Health, Beauty', '科學 健康 美容'); ?> </div> </div>