head.php 485 B

12345678910
  1. <?php
  2. $view
  3. ->fetch('title', '<{isset($title) ? $title . "_" . Dever::load("buy/base.config#title") : Dever::load("buy/base.config#title")}>')
  4. ->fetch(array('link@href', 0), Dever::assets("global.css"))
  5. ->fetch(array('link@href', 1), Dever::assets('<{(isset($name) ? $name : "index")}>.css', "css"))
  6. ->append('head', '<script><{Dever::script()}>config.uid=<{Dever::load("passport/user.data") ? Dever::load("passport/user.data#id") : -1}></script>');