예제 #1
0
파일: index2.php 프로젝트: hehekeke/mir_web
<?php

$session = Yii::$app->session;
$language = empty($session['language']) ? 0 : 1;
use backend\components\GlobalFunc;
$glo = new GlobalFunc();
?>
<style type="text/css">
.breadcrumb > li + li:before {
    color: #CCCCCC;
    content: ">";
    padding: 0 5px;
}
.breadcrumb a{
    font-size: 19px;
}
h1{
    margin-top: 56px;
}
.gongsi{
    padding-bottom: 20px;
}
.gongsi .tab-content{
    padding-top: 30px;
    margin-left: 30px;
}
 @media screen and (max-width:1000px) {
    .top{
            width: 100%;
            height: 43px;
            background-color: #3c80a2;
예제 #2
0
파일: index.php 프로젝트: hehekeke/mir_web
<?php

$session = Yii::$app->session;
$language = empty($session['language']) ? 0 : 1;
use backend\components\GlobalFunc;
$glo = new GlobalFunc();
?>
<style type="text/css">
 /* .breadcrumb{
    background-color: white;
    border-bottom: 1px solid grey;
    border-radius:0px;
  }*/
  a{
    color: black;
  }
  .breadcrumb > li + li:before {
        color: #CCCCCC;
        content: ">";
        padding: 0 5px;
    }
    .breadcrumb a{
        font-size: 19px;
    }
    .date{
        float: right;
        color: #808080;
    }
    .tab-div{
        padding-bottom: 20px;
        border-bottom: 1px solid black;
예제 #3
0
파일: index.php 프로젝트: hehekeke/mir_web
<?php

use yii\widgets\LinkPager;
$session = Yii::$app->session;
$language = empty($session['language']) ? 0 : 1;
use backend\components\GlobalFunc;
$glo = new GlobalFunc();
?>
<style type="text/css">
	
.breadcrumb > li + li:before {
    color: #CCCCCC;
    content: ">";
    padding: 0 5px;
}
.breadcrumb a{
	font-size: 19px;
}
.idv_topImg img{
	width: 100%;
	height: 360px;
	border: 1px solid #dddddd;
}
a{
	color: black;
}
.btn{
	border-radius:0px;
}
.img-responsive, .thumbnail > img, .thumbnail a > img, .carousel-inner > .item > img, .carousel-inner > .item > a > img{
	height: 100px;
예제 #4
0
파일: index.php 프로젝트: hehekeke/mir_web
<?php

$session = Yii::$app->session;
$language = empty($session['language']) ? 0 : 1;
use backend\components\GlobalFunc;
$glo = new GlobalFunc();
use yii\widgets\LinkPager;
?>
<style type="text/css"> 
    ::-webkit-scrollbar {    width: 12px;}
    ::-webkit-scrollbar-track {    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);    border-radius: 10px;}
    ::-webkit-scrollbar-thumb {    border-radius: 10px;    background: rgba(0,0,0,0.1);    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);}::-webkit-scrollbar-thumb:window-inactive {    background: rgba(255,0,0,0.4);}
    .h6-1{
        width: 55%;
        margin-left: 10px;
    }
    .h6-2{
        width: 20%;
        margin-left: 10px;
    }
    .h6-3{
        width: 20%;
        margin-left: 10px;
    }
    .scroll{
        border-bottom: 1px dashed grey;
    }
    a{
        color: black;
    }
    @media screen and (max-width:1000px) {
예제 #5
0
파일: index2.php 프로젝트: hehekeke/mir_web
<?php

$session = Yii::$app->session;
$language = empty($session['language']) ? 0 : 1;
use backend\components\GlobalFunc;
$glo = new GlobalFunc();
?>
<style type="text/css">
    .h6-1{
        width: 55%;
        margin-left: 10px;
    }
    .h6-2{
        width: 20%;
        margin-left: 10px;
    }
    .h6-3{
        width: 20%;
        margin-left: 10px;
    }
    .scroll{
        border-bottom: 1px dashed grey;
    }
    a{
        color: black;
    }
    .neirong_date{
        border-bottom: 1px dashed grey;
        border-top: 1px dashed grey;
        
    }
예제 #6
0
파일: index2.php 프로젝트: hehekeke/mir_web
<?php

$session = Yii::$app->session;
$language = empty($session['language']) ? 0 : 1;
use backend\components\GlobalFunc;
$glo = new GlobalFunc();
?>
<style type="text/css">
    .h6-1{
        width: 55%;
        margin-left: 10px;
    }
    .h6-2{
        width: 20%;
        margin-left: 10px;
    }
    .h6-3{
        width: 20%;
        margin-left: 10px;
    }
    .scroll{
        border-bottom: 1px dashed grey;
    }
    a{
        color: black;
    }
    .neirong_date{
        border-bottom: 1px dashed grey;
        border-top: 1px dashed grey;
        
    }
예제 #7
0
파일: index.php 프로젝트: hehekeke/mir_web
<?php

$session = Yii::$app->session;
$language = empty($session['language']) ? 0 : 1;
use backend\components\GlobalFunc;
$glo = new GlobalFunc();
?>
<style type="text/css">
	.col-sm-3{
		width: 22%;
		/*padding-left: 10px;*/
		/*padding-right: 10px;*/
	}
	.col-sm-3 img{
		margin-top: 20px;
		width: 100%;
		height: 400px;
	}
	.img_bottom{
		background-color: #eeeae9;
		height: 63px;
	}
	.img_bottom p{
		margin: 0;
		margin-left: 20px;
	}
	.img_bottom .title{
		font-weight: 500px;
		font-size: 18px;
		padding-top: 10px;
		margin-left: 20px;
예제 #8
0
 public function post($print_response = true)
 {
     if ($this->get_query_param('_method') === 'DELETE') {
         return $this->delete($print_response);
     }
     $upload = $this->get_upload_data($this->options['param_name']);
     // Parse the Content-Disposition header, if available:
     $content_disposition_header = $this->get_server_var('HTTP_CONTENT_DISPOSITION');
     $file_name = $content_disposition_header ? rawurldecode(preg_replace('/(^[^"]+")|("$)/', '', $content_disposition_header)) : null;
     // Parse the Content-Range header, which has the following form:
     // Content-Range: bytes 0-524287/2000000
     $content_range_header = $this->get_server_var('HTTP_CONTENT_RANGE');
     $content_range = $content_range_header ? preg_split('/[^0-9]+/', $content_range_header) : null;
     $size = $content_range ? $content_range[3] : null;
     $files = array();
     $globalFunc = new GlobalFunc();
     if ($upload) {
         if (is_array($upload['tmp_name'])) {
             // param_name is an array identifier like "files[]",
             // $upload is a multi-dimensional array:
             foreach ($upload['tmp_name'] as $index => $value) {
                 // 处理文件名,将文件保存到指定文件夹中.
                 $fileName = Yii::$app->security->generateRandomString(12) . '.' . $globalFunc->fileext($upload['name'][$index]);
                 $files[] = $this->handle_file_upload($upload['tmp_name'][$index], $file_name ? $file_name : $fileName, $size ? $size : $upload['size'][$index], $upload['type'][$index], $upload['error'][$index], $index, $content_range);
             }
         } else {
             // param_name is a single object identifier like "file",
             // $upload is a one-dimensional array:
             $files[] = $this->handle_file_upload(isset($upload['tmp_name']) ? $upload['tmp_name'] : null, $file_name ? $file_name : (isset($upload['name']) ? time() . $upload['name'] : null), $size ? $size : (isset($upload['size']) ? $upload['size'] : $this->get_server_var('CONTENT_LENGTH')), isset($upload['type']) ? $upload['type'] : $this->get_server_var('CONTENT_TYPE'), isset($upload['error']) ? $upload['error'] : null, null, $content_range);
         }
     }
     $response = array($this->options['param_name'] => $files);
     return $this->generate_response($response, $print_response);
 }
예제 #9
0
파일: index.php 프로젝트: hehekeke/mir_web
<?php

$session = Yii::$app->session;
$language = empty($session['language']) ? 0 : 1;
use backend\components\GlobalFunc;
$glo = new GlobalFunc();
?>
<style type="text/css">
.breadcrumb > li + li:before {
    color: #CCCCCC;
    content: ">";
    padding: 0 5px;
}
.breadcrumb a{
	font-size: 19px;
}
a{
	color: black;
}
.first{
	margin-top: 20px;
	padding-bottom: 20px;
	margin-bottom: 20px;
	border-bottom: 1px dashed grey;
}
.imgs{
	margin-left: 12px;
}
.first img{
	border: 1px solid grey;
	float: left;
예제 #10
0
파일: index.php 프로젝트: hehekeke/mir_web
<?php

$session = Yii::$app->session;
$language = empty($session['language']) ? 0 : 1;
use backend\components\GlobalFunc;
$glo = new GlobalFunc();
?>
<head>
	<link href="video-js.css" rel="stylesheet" type="text/css">
    <script src="video.js"></script>
</head>
<style type="text/css">
.breadcrumb > li + li:before {
    color: #CCCCCC;
    content: ">";
    padding: 0 5px;
}
a{
	color: black;
}
.breadcrumb a{
	font-size: 19px;
}
h5{
	padding-bottom: 5px;
	border-bottom: 1px solid grey;
}
.first{
	margin-top: 20px;
	padding-bottom: 20px;
	margin-bottom: 20px;
예제 #11
0
파일: index2.php 프로젝트: hehekeke/mir_web
<?php

$session = Yii::$app->session;
$language = empty($session['language']) ? 0 : 1;
use backend\components\GlobalFunc;
$glo = new GlobalFunc();
?>
<head>
	<link href="video-js.css" rel="stylesheet" type="text/css">
    <script src="video.js"></script>
</head>
<style type="text/css">
	.video img{
		margin-top: 40px;
		margin-bottom: 40px;
		margin-left: 40px;
		width: 300px;
		height: 300px;

	}
	.wenzi{
		width: 60%;
	}
	h4{
		margin-top: 80px;
		margin-bottom: 20px;
		margin-left: 40px;
		font-size: 20px;
		color: #003366;

	}
예제 #12
0
파일: index2.php 프로젝트: hehekeke/mir_web
<?php

$session = Yii::$app->session;
$language = empty($session['language']) ? 0 : 1;
use backend\components\GlobalFunc;
$glo = new GlobalFunc();
?>
<style type="text/css">
    a{
        color: black;
    }
    .breadcrumb > li + li:before {
        color: #CCCCCC;
        content: ">";
        padding: 0 5px;
    }
    .breadcrumb a{
        font-size: 19px;
    }
	.tab-div{
		padding-bottom: 20px;
		border-bottom: 1px solid black;
	}
	.renmen{
		margin-top: 50px;
	}
	.remen_div span{
		display: inline-block;
		width: 15px;
		height: 15px;
		text-align: center;
예제 #13
0
파일: index2.php 프로젝트: hehekeke/mir_web
<?php

$session = Yii::$app->session;
$language = empty($session['language']) ? 0 : 1;
use backend\components\GlobalFunc;
$glo = new GlobalFunc();
?>
<style type="text/css">
	.content{
		padding-bottom: 20px;
		border-bottom: 1px dashed grey;
	}
	.content img{
		margin-top: 20px;
		height: 156px;
		margin-left: 40px;
	}
	.wenzi{
		width: 70%;
		margin-top: 20px;
		margin-left: 40px;
	}
	.wenzi p {
		/*margin-bottom: 20px;*/
		margin-right: 30px;
	}
	.wenzi p span{
		display: inline-block;
		margin-bottom: 10px;
	}
	.wenzi .pull-right{
예제 #14
0
파일: index.php 프로젝트: hehekeke/mir_web
<?php

$session = Yii::$app->session;
$language = empty($session['language']) ? 0 : 1;
use backend\components\GlobalFunc;
$glo = new GlobalFunc();
?>
<style type="text/css">
    a{
        color: black;
    }
    .lichu{
        padding-bottom: 10px;
        border-bottom: 1px dashed grey;
    }
    .kanwu{
        margin-top: 10px;
    }
    .left{

        float: left;
    }
    .kanwu .content img{
        margin-left: 10px;
        width: 71px;
        height: 117px;
    }
    .content-right-kanwu{
        width: 31%;
        margin-left: 40px;
        border-bottom: 1px dashed grey;