This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ul class="post-it"> | |
<li><a href="#">SUNDAY</a></li> | |
<li><a href="#">MONDAY</a></li> | |
<li><a href="#">TUESDAY</a></li> | |
<li><a href="#">WENDSDAY</a></li> | |
<li><a href="#">THURSDAY</a></li> | |
<li class="active"><a href="#">FRIDAY</a></li> | |
<li><a href="#">SATERDAY</a></li> | |
</ul> | |
<div class="note">HERE IS NOTE.</div>http://codepen.io/JeonghwanKim/pen/IhsdC# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<php | |
echo 'test'; | |
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.foo { | |
float: left; | |
} | |
.foo:after { | |
content: ""; | |
display:block; | |
clear:both; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Bootstrap 101 Template</title> | |
<meta name="viewport"content="width=device-width, initial-scale=1.0"> | |
<!-- Bootstrap --> | |
<link href="css/bootstrap.min.css"rel="stylesheet"media="screen"> | |
</head> | |
<body> | |
<h1>Hello, world!</h1> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.opacity { | |
background-color: #000000; | |
opacity: 0.6; | |
filter: alpha(opacity=60); | |
} | |
.non-opacity { | |
position: relative; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
white-space:pre-wrap; | |
word-wrap: break-word; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!--[if IE]> | |
<link type="text/css" href="ie.css" rel="stylesheet"/> | |
<![endif]—> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int str_to_int(char *str) { | |
int i = 0; | |
while (*str >= '0' && *str <= '9') | |
i = i * 10 + *str++ - '0'; | |
return i; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function get_day_of_week($date) { | |
$day = array('일','월','화','수','목','금','토'); | |
$day_of_week = $day[date('w', strtotime($date))]; | |
return $day_of_week; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function getRealIpAddr() | |
{ | |
if (!empty($_SERVER['HTTP_CLIENT_IP'])) //check ip from share internet | |
{ | |
$ip=$_SERVER['HTTP_CLIENT_IP']; | |
} | |
elseif (!empty($_SERVER['HTTP_X_FORWARDED_FOR'])) //to check ip is pass from proxy | |
{ | |
$ip=$_SERVER['HTTP_X_FORWARDED_FOR']; | |
} |
OlderNewer