이미지 클릭 하면 로그인 해야만 클릭 할수 있는 방법은 없을까요? > 그누4 질문답변

그누4 질문답변

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기
기존 게시물은 열람만 가능합니다.

이미지 클릭 하면 로그인 해야만 클릭 할수 있는 방법은 없을까요? 정보

이미지 클릭 하면 로그인 해야만 클릭 할수 있는 방법은 없을까요?

본문

이미지 클릭 하면 로그인 해야만 클릭 할수 있는 방법은 없을까요?

<td>
<a href="<?=$g4[shop_path]?>/list.php?ca_id=20"><img src="<?=$g4[path]?>/images/cat_road_02.gif" width="145" height="223" alt="" border="0"></a></td>
  • 복사

댓글 전체


<?if($is_member){?>
<a href="<?=$g4[shop_path]?>/list.php?ca_id=20"><img src="<?=$g4[path]?>/images/cat_road_02.gif" width="145" height="223" alt="" border="0"></a>
<?}else{?>
<img src="<?=$g4[path]?>/images/cat_road_02.gif" width="145" height="223" alt="" border="0">
<?}?>
<?
include_once("./_common.php");

//echo dirname(__FILE__);

define("_INDEX_", TRUE);

$g4[title] = "";
include_once("$g4[path]/head.php");
?>

<script language="JavaScript" src="<?=$g4[path]?>/js/shop.js"></script>
<script type="text/javascript" src="js/swfobject.js"></script>
<SCRIPT type=text/javascript>
var flashvars = {};
flashvars.xml =  "config.xml";
var params = {};
params.allowscriptaccess = "always";
params.allownetworking = "all";
params.wmode = "transparent";
var attributes = {};
attributes.id = "slider";
</SCRIPT>
상단에 넣으면  오류가 되는데요
<?
include_once("./_common.php");

//echo dirname(__FILE__);

define("_INDEX_", TRUE);
if(!$member[mb_id]) $g4[shop_path]="#';
$g4[title] = "";
include_once("$g4[path]/head.php");
?>
오류는
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in D:\APMServ5.2.6\www\htdocs\hanmaum\index.php on line 9
아  예  일단은 고맙구요 !
바꿔 넣으면 
 
Warning: include(#/boxtodayview.inc.php) [function.include]: failed to open stream: No such file or directory in D:\APMServ5.2.6\www\htdocs\shijinmaoyi\head.php on line 228

Warning: include() [function.include]: Failed opening '#/boxtodayview.inc.php' for inclusion (include_path='.;C:\php5\pear') in D:\APMServ5.2.6\www\htdocs\shijinmaoyi\head.php on line 228
#/maintype20.inc.php 파일을 찾을 수 없습니다.
#/maintype10.inc.php 파일을 찾을 수 없습니다.
이런  오류가  나 옵니다  도와 주세요!!!!
© SIRSOFT
현재 페이지 제일 처음으로