기능개선 및 오류 수정
This commit is contained in:
@ -34,7 +34,7 @@ include_once (G5_ADMIN_PATH.'/admin.head.php');
|
|||||||
<input type="hidden" name="nw_id" value="<?php echo $nw_id; ?>">
|
<input type="hidden" name="nw_id" value="<?php echo $nw_id; ?>">
|
||||||
|
|
||||||
<div class="local_desc01 local_desc">
|
<div class="local_desc01 local_desc">
|
||||||
<p>쇼핑몰 초기화면 접속 시 자동으로 뜰 팝업레이어를 설정합니다.</p>
|
<p>초기화면 접속 시 자동으로 뜰 팝업레이어를 설정합니다.</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="tbl_frm01 tbl_wrap">
|
<div class="tbl_frm01 tbl_wrap">
|
||||||
|
|||||||
@ -1,13 +1,13 @@
|
|||||||
<?php
|
<?php
|
||||||
include_once("./_common.php");
|
include_once("./_common.php");
|
||||||
|
|
||||||
$title = str_replace('\"', '"',$_REQUEST['title']);
|
$title = urlencode(str_replace('\"', '"',$_REQUEST['title']));
|
||||||
$short_url = googl_short_url($_REQUEST['longurl']);
|
$short_url = googl_short_url($_REQUEST['longurl']);
|
||||||
$title_url = $title.' : '.$short_url;
|
$title_url = $title.' : '.$short_url;
|
||||||
|
|
||||||
switch($_REQUEST['sns']) {
|
switch($_REQUEST['sns']) {
|
||||||
case 'facebook' :
|
case 'facebook' :
|
||||||
header("Location:http://www.facebook.com/sharer/sharer.php?s=100&p[url]=".$short_url."&p[title]=".$title);
|
header("Location:http://www.facebook.com/sharer/sharer.php?s=100&u=".$short_url."&p=".$title);
|
||||||
break;
|
break;
|
||||||
case 'twitter' :
|
case 'twitter' :
|
||||||
header("Location:http://twitter.com/home?status=".$title_url);
|
header("Location:http://twitter.com/home?status=".$title_url);
|
||||||
|
|||||||
@ -90,7 +90,7 @@ if (isset($_POST['notice']) && $_POST['notice']) {
|
|||||||
for ($i=1; $i<=10; $i++) {
|
for ($i=1; $i<=10; $i++) {
|
||||||
$var = "wr_$i";
|
$var = "wr_$i";
|
||||||
$$var = "";
|
$$var = "";
|
||||||
if (isset($_POST['wr_'.$i]) && $_POST['wr_'.$i]) {
|
if (isset($_POST['wr_'.$i]) && settype($_POST['wr_'.$i], 'string')) {
|
||||||
$$var = trim($_POST['wr_'.$i]);
|
$$var = trim($_POST['wr_'.$i]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -51,11 +51,6 @@ if (defined('G5_IS_ADMIN')) {
|
|||||||
echo '<link rel="stylesheet" href="'.G5_ADMIN_URL.'/css/admin.css">'.PHP_EOL;
|
echo '<link rel="stylesheet" href="'.G5_ADMIN_URL.'/css/admin.css">'.PHP_EOL;
|
||||||
} else {
|
} else {
|
||||||
echo '<link rel="stylesheet" href="'.G5_CSS_URL.'/'.(G5_IS_MOBILE?'mobile':'default').'.css">'.PHP_EOL;
|
echo '<link rel="stylesheet" href="'.G5_CSS_URL.'/'.(G5_IS_MOBILE?'mobile':'default').'.css">'.PHP_EOL;
|
||||||
// canonical 지정
|
|
||||||
$canonical = '';
|
|
||||||
if ($bo_table && $wr_id) $canonical = 'http://'.$_SERVER['HTTP_HOST'].'/bbs/board.php?bo_table='.$bo_table.'&wr_id='.$wr_id;
|
|
||||||
else $canonical = 'http://'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];
|
|
||||||
echo '<link rel="canonical" href="'.$canonical.'">'.PHP_EOL;
|
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<!--[if lte IE 8]>
|
<!--[if lte IE 8]>
|
||||||
|
|||||||
@ -16,6 +16,9 @@
|
|||||||
var $img = this.find(cfg.selector);
|
var $img = this.find(cfg.selector);
|
||||||
var $this = this;
|
var $this = this;
|
||||||
|
|
||||||
|
$img.removeAttr("height")
|
||||||
|
.css("height", "");
|
||||||
|
|
||||||
function image_resize()
|
function image_resize()
|
||||||
{
|
{
|
||||||
var width = $this.width();
|
var width = $this.width();
|
||||||
|
|||||||
Reference in New Issue
Block a user