Giter Site home page Giter Site logo

ziiho's Introduction

##配置

/data/config.php
  • 配置数据库

    • 16 $_G ['dns'] ['host'] = 'localhost';
    • 18 $_G ['dns'] ['user'] = 'root';
    • 20 $_G ['dns'] ['password'] = 'root';
    • 22 $_G ['dns'] ['database'] = 'zh';
  • 网站根目录

##New UI

###文件目录

mina/aaa/

|--- bootstrapUI  bootstrap 文件目录

|--- newUI 
    |
    |--- common
    |	|
    |	|--- head.php  ```<!doctype html>...<![endif]-->```
    |	|
    |	|--- footer.php ```<script>...</html>```
    |	|
    |	|--- navbar.php ```<nav>...</nav>```
    |	|
    |	|--- ( custome.php ```</head>...**<?php include footer.php ?>**...</html>``` )
    |
    |--- assets 自定义css/js
    |	|
    |	|--- css (公共CSS)
    |	|
    |	|--- js  (公共javascript)
    |
    |--- utils 第三方工具/库
    |	|
    |	|--- bootstrap-3.3.4-dist


common/bt
 bootsttrap
    |
    |---head.php  ```<!doctype html>...<![endif]-->```
    |
    |--- custome.php ```</head>...</body>```
    |
    |---footer.php ```<script>...</html>```
    |
    |--- navbar.php ```<nav>...</nav>```

###代码

  • 引入静态文件

    dir('bootstrapUI')); ?>/bower_components/bootstrap/dist/css/bootstrap.min.css
  • 跳转页面

    su('user/ac/login')); ?> su('user')); ?> su('job/ac/home')); ?>
  • 引入公共文件

    _g('template')->name('newUI', 'common/footer', true);

###主题配置文件

./data/cache/common/option.php

##浏览器兼容代码

1.over.css

*571* /*height:34px;*/  /*兼容firefox*/

##公共代码

2.导航搜索框

<div class="style_1">
    <form method="get" id="searchform" action="/">
        <fieldset>
            <input id="s" name="s" type="text" value="输入搜索内容" class="text_input" onblur="if(this.value==''){this.value='输入搜索内容';}" onfocus="if(this.value =='输入搜索内容') {this.value=''; }" />
            <input name="submit" type="submit" value="" /> </fieldset>
    </form>
</div>

3.header

<!DOCTYPE html>
<html lang="zh-CN">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<!--<link href='http://fonts.useso.com/css?family=Open+Sans' rel='stylesheet' type='text/css'>-->

##IE8

.box { -moz-border-radius: 15px; /* Firefox / -webkit-border-radius: 15px; / Safari and Chrome / border-radius: 15px; / Opera 10.5+, future browsers, and now also Internet Explorer 6+ using IE-CSS3 / -moz-box-shadow: 10px 10px 20px #000; / Firefox / -webkit-box-shadow: 10px 10px 20px #000; / Safari and Chrome / box-shadow: 10px 10px 20px #000; / Opera 10.5+, future browsers and IE6+ using IE-CSS3 */ behavior: url(ie-css3.htc); }

ziiho's People

Contributors

nodejh avatar

Watchers

James Cloos avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.