경고페이지
This commit is contained in:
@ -32,6 +32,9 @@ if($error) {
|
|||||||
$header2 = "다음 내용을 확인해 주세요.";
|
$header2 = "다음 내용을 확인해 주세요.";
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
<div id="validation_check">
|
||||||
|
|
||||||
|
<h1><?=$header2?></h1>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
alert("<? echo $msg; ?>");
|
alert("<? echo $msg; ?>");
|
||||||
@ -39,9 +42,6 @@ document.location.href = "<? echo $url; ?>";
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<noscript>
|
<noscript>
|
||||||
<div id="validation_check">
|
|
||||||
|
|
||||||
<h1><?=$header2?></h1>
|
|
||||||
<p class="cbg">
|
<p class="cbg">
|
||||||
<?=$msg2?>
|
<?=$msg2?>
|
||||||
</p>
|
</p>
|
||||||
@ -49,8 +49,6 @@ document.location.href = "<? echo $url; ?>";
|
|||||||
<a href="<?=$url?>">돌아가기</a>
|
<a href="<?=$url?>">돌아가기</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<? /*
|
<? /*
|
||||||
<article id="validation_check">
|
<article id="validation_check">
|
||||||
<header>
|
<header>
|
||||||
@ -75,6 +73,8 @@ document.location.href = "<? echo $url; ?>";
|
|||||||
|
|
||||||
</noscript>
|
</noscript>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
<?
|
<?
|
||||||
include_once(G4_PATH.'/tail.sub.php');
|
include_once(G4_PATH.'/tail.sub.php');
|
||||||
?>
|
?>
|
||||||
@ -21,7 +21,7 @@ pre {overflow-x:scroll;font-size:1.1em}
|
|||||||
#to_content a:active {padding:10px 0;width:100%;height:auto;background:#333;color:#fff;font-size:2em;text-align:center;text-decoration:none;overflow:auto}
|
#to_content a:active {padding:10px 0;width:100%;height:auto;background:#333;color:#fff;font-size:2em;text-align:center;text-decoration:none;overflow:auto}
|
||||||
|
|
||||||
/* 이미지 등비율 리사이징 */
|
/* 이미지 등비율 리사이징 */
|
||||||
.img_fix {float:left;margin-bottom:20px;width:100%;height:auto}
|
.img_fix {float:left;width:100%;height:auto}
|
||||||
|
|
||||||
/* 캡챠 자동등록(입력)방지 기본 */
|
/* 캡챠 자동등록(입력)방지 기본 */
|
||||||
#captcha img {border:1px solid #ddd;border-right:0}
|
#captcha img {border:1px solid #ddd;border-right:0}
|
||||||
@ -204,7 +204,7 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#494949;color:#f
|
|||||||
.ol_pwlabel {position:absolute;top:35px;left:5px;color:#696969;font-size:0.9em}
|
.ol_pwlabel {position:absolute;top:35px;left:5px;color:#696969;font-size:0.9em}
|
||||||
#auto_login {}
|
#auto_login {}
|
||||||
#auto_login_label {letter-spacing:-0.1em}
|
#auto_login_label {letter-spacing:-0.1em}
|
||||||
#ol_submit {width:60px;height:24px;border:1px solid #2292d3;background:#109ff1;color:#fff;font-size:0.9em;font-weight:bold;vertical-align:top}
|
#ol_submit {display:inline-block;width:60px;height:24px;border:1px solid #2292d3;background:#109ff1;color:#fff;font-size:0.9em;font-weight:bold;vertical-align:top}
|
||||||
#ol_before ul {float:right;margin:7px 0 13px;zoom:1}
|
#ol_before ul {float:right;margin:7px 0 13px;zoom:1}
|
||||||
#ol_before ul:after {display:block;visibility:hidden;clear:both;content:""}
|
#ol_before ul:after {display:block;visibility:hidden;clear:both;content:""}
|
||||||
#ol_before li {float:left;margin-left:5px;padding-top:2px}
|
#ol_before li {float:left;margin-left:5px;padding-top:2px}
|
||||||
|
|||||||
208
test.php
208
test.php
@ -1,5 +1,205 @@
|
|||||||
<?
|
|
||||||
define('XXX', 111);
|
|
||||||
|
|
||||||
print_r(get_defined_constants());
|
<!DOCTYPE html>
|
||||||
?>
|
<html lang="ko">
|
||||||
|
<head>
|
||||||
|
<title>Create a Custom Select Box with jQuery - Onextrapixel</title>
|
||||||
|
<link rel="stylesheet" href="style.css" type="text/css" media="screen" />
|
||||||
|
<style type='text/css'>
|
||||||
|
/*
|
||||||
|
Author : Onextrapixel
|
||||||
|
URL: http://www.onextrapixel.com
|
||||||
|
*/
|
||||||
|
|
||||||
|
* {
|
||||||
|
border:none;
|
||||||
|
margin:0;
|
||||||
|
padding:0;
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
color:#000;
|
||||||
|
font:12.35px "Lucida Grande", Arial, Georgia, Verdana, sans-serif;
|
||||||
|
}
|
||||||
|
|
||||||
|
a:link, a:visited {
|
||||||
|
color:#000;
|
||||||
|
text-decoration:none;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
font-size:20px;
|
||||||
|
margin-bottom:20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
h2 {
|
||||||
|
font-size:15px;
|
||||||
|
margin-bottom:20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
p {
|
||||||
|
margin:10px 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#wrap {
|
||||||
|
margin:0 auto;
|
||||||
|
width:900px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#header {
|
||||||
|
margin-bottom:50px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#header a {
|
||||||
|
color:#0054A6;
|
||||||
|
}
|
||||||
|
|
||||||
|
#header a:hover {
|
||||||
|
text-decoration:underline;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.selectBox
|
||||||
|
{
|
||||||
|
position:relative;
|
||||||
|
display:inline-block;
|
||||||
|
cursor:default;
|
||||||
|
text-align:left;
|
||||||
|
line-height:30px;
|
||||||
|
clear:both;
|
||||||
|
color:#888;
|
||||||
|
}
|
||||||
|
span.selected
|
||||||
|
{
|
||||||
|
width:167px;
|
||||||
|
text-indent:20px;
|
||||||
|
border:1px solid #ccc;
|
||||||
|
border-right:none;
|
||||||
|
border-top-left-radius:5px;
|
||||||
|
border-bottom-left-radius:5px;
|
||||||
|
background:#f6f6f6;
|
||||||
|
overflow:hidden;
|
||||||
|
}
|
||||||
|
span.selectArrow
|
||||||
|
{
|
||||||
|
width:30px;
|
||||||
|
border:1px solid #60abf8;
|
||||||
|
border-top-right-radius:5px;
|
||||||
|
border-bottom-right-radius:5px;
|
||||||
|
text-align:center;
|
||||||
|
font-size:20px;
|
||||||
|
-webkit-user-select: none;
|
||||||
|
-khtml-user-select: none;
|
||||||
|
-moz-user-select: none;
|
||||||
|
-o-user-select: none;
|
||||||
|
user-select: none;
|
||||||
|
background:#4096ee;
|
||||||
|
}
|
||||||
|
|
||||||
|
span.selectArrow,span.selected
|
||||||
|
{
|
||||||
|
position:relative;
|
||||||
|
float:left;
|
||||||
|
height:30px;
|
||||||
|
z-index:1;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.selectOptions
|
||||||
|
{
|
||||||
|
position:absolute;
|
||||||
|
top:28px;
|
||||||
|
left:0;
|
||||||
|
width:198px;
|
||||||
|
border:1px solid #ccc;
|
||||||
|
border-bottom-right-radius:5px;
|
||||||
|
border-bottom-left-radius:5px;
|
||||||
|
overflow:hidden;
|
||||||
|
background:#f6f6f6;
|
||||||
|
padding-top:2px;
|
||||||
|
display:none;
|
||||||
|
}
|
||||||
|
|
||||||
|
span.selectOption
|
||||||
|
{
|
||||||
|
display:block;
|
||||||
|
width:80%;
|
||||||
|
line-height:20px;
|
||||||
|
padding:5px 10%;
|
||||||
|
}
|
||||||
|
|
||||||
|
span.selectOption:hover
|
||||||
|
{
|
||||||
|
color:#f6f6f6;
|
||||||
|
background:#4096ee;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
<script type='text/javascript' src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>
|
||||||
|
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<script type='text/javascript'><!--
|
||||||
|
$(document).ready(function() {
|
||||||
|
enableSelectBoxes();
|
||||||
|
});
|
||||||
|
|
||||||
|
function enableSelectBoxes(){
|
||||||
|
$('div.selectBox').each(function(){
|
||||||
|
$(this).children('span.selected').html($(this).children('div.selectOptions').children('span.selectOption:first').html());
|
||||||
|
$(this).attr('value',$(this).children('div.selectOptions').children('span.selectOption:first').attr('value'));
|
||||||
|
|
||||||
|
$(this).children('span.selected,span.selectArrow').click(function(){
|
||||||
|
if($(this).parent().children('div.selectOptions').css('display') == 'none'){
|
||||||
|
$(this).parent().children('div.selectOptions').css('display','block');
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$(this).parent().children('div.selectOptions').css('display','none');
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
$(this).find('span.selectOption').click(function(){
|
||||||
|
$(this).parent().css('display','none');
|
||||||
|
$(this).closest('div.selectBox').attr('value',$(this).attr('value'));
|
||||||
|
$(this).parent().siblings('span.selected').html($(this).html());
|
||||||
|
});
|
||||||
|
});
|
||||||
|
}//-->
|
||||||
|
</script>
|
||||||
|
<div id="wrap">
|
||||||
|
<div id="head">
|
||||||
|
<h1><a href="/"><img src="http://www.onextrapixel.com/examples/files/logo.png" alt="Onextrapixel Homepage" /></a></h1>
|
||||||
|
<div class="demoads">
|
||||||
|
<script type="text/javascript"><!--
|
||||||
|
google_ad_client = "ca-pub-5606861741839360";
|
||||||
|
/* OXPDemoTop728x90 */
|
||||||
|
google_ad_slot = "2475031167";
|
||||||
|
google_ad_width = 728;
|
||||||
|
google_ad_height = 90;
|
||||||
|
//-->
|
||||||
|
</script>
|
||||||
|
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div id="header">
|
||||||
|
<h1>Create a Custom Select Box with jQuery</h1>
|
||||||
|
<a href="http://www.onextrapixel.com/2012/06/20/create-a-custom-select-box-with-jquery">Back to tutorial</a>
|
||||||
|
</div>
|
||||||
|
<div class='selectBox'>
|
||||||
|
<span class='selected'></span>
|
||||||
|
<span class='selectArrow'>▼</span>
|
||||||
|
<div class="selectOptions" >
|
||||||
|
<span class="selectOption" value="Option 1">Option 1</span>
|
||||||
|
<span class="selectOption" value="Option 2">Option 2</span>
|
||||||
|
<span class="selectOption" value="Option 3">Option 3</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<script type="text/javascript">
|
||||||
|
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
|
||||||
|
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
|
||||||
|
</script>
|
||||||
|
<script type="text/javascript">
|
||||||
|
try {
|
||||||
|
var pageTracker = _gat._getTracker("UA-8453623-1");
|
||||||
|
pageTracker._trackPageview();
|
||||||
|
} catch(err) {}
|
||||||
|
</script> </body>
|
||||||
|
</html>
|
||||||
Reference in New Issue
Block a user