iframe PHP

<iframe src="연결할 경로" frameBorder=0 width=해당크기 height=해당크기 scrolling=no marginwidth="0" marginheight="0"></iframe>

로그인/아웃 확인 PHP

<? if($_SESSION[USERID]==""){ ?> //세션변수에 값이 없으면 로그인 안한것.
<table width="1000px" border="0" cellpadding="0" cellspacing="0" align="center" summary="">
<tr>
 <td height="136px"><s-ript language="javas-ript">flashWrite('/fla/sub_menu.swf?pageNum=<?=$page_1 ?>&subNum=<?=$page_2 ?>','1000','136','','','','transparent')</script>
</td>
</tr>
</table>
<? } else { ?>
<table width="1000px" border="0" cellpadding="0" cellspacing="0" align="center" summary="">
<tr>
 <td height="136px"><s-ript language="javas-ript">flashWrite('/fla/sub_menu_logout.swf?pageNum=<?=$page_1 ?>&subNum=<?=$page_2 ?>','1000','136','','','','transparent')</script>
</td>
</tr>
</table>
<? } ?>

마우스오버 PHP

 


<s-ript language=javas-ript>

function viewBigImg(Val) {
 document.bigimg.src=Val;
}

 


</script> 
</head>
<img src="" width=590 height=443 name="bigimg">
<img src="/images/bar_09.gif" width=109 height=70 onMouseover="viewBigImg('/images/bar_09.gif')" style="cursor:pointer;"  />
<img src="/images/bar_best.gif" width=109 height=70 onMouseover="viewBigImg('/images/bar_best.gif')" style="cursor:pointer;" />
<div a href="#" onMouseover="cHange_iMage_vIew('../images/bar_09.gif')">

          


 


메인화면 공지사항 바로가기 PHP

            <?
 $code="notice";
 $bbs_admin_stat = $db->object("cs_bbs", "where code='$code'");
 $notice_result  = $db->select("cs_bbs_data", "where code='$code'  order by ref desc, re_step ASC LIMIT 2" );
 while( $notice_row = @mysql_fetch_object($notice_result)) {
   $subject    =  $tools->strHtmlNo($tools->strCut_utf($notice_row->subject, 35));
   $new_check   =  $bbs_admin_stat->new_check;
   
   if( $new_check ) { $new_img   =  $page->bbsNewImg( $notice_row->reg_date, $bbs_admin_stat->new_mark, "&nbsp;&nbsp;<img src='./../images/new3.gif'>" ); }
    $bbs_data = $tools->encode("idx=".$notice_row->idx."&startPage=".$startPage."&listNo=".$listNo."&table=".$table."&code=".$code."&search_item=".$search_item."&search_order=".$search_order);
?>
    <tr>
     <td width="185px" class="g_notice"><img src="/images/Untitled-1.gif" width="1px" height="1px" alt="점" align="middle"/><img src="/images/blank.gif" width="4px" height="1px" border="0" alt="" /><a href="/html/bbs_notice.php?bgu=view&bbs_data=<?=$bbs_data;?>"><?=$db->stripSlash($subject);?></a></td>
     <td width="60px"  class="g_notice_data"><? echo substr($notice_row->reg_date,0,-9) ?></td>
    </tr>
    <?}?>

이름에 **추가하기 PHP

<?
       $str=$row[name];
       $name_len=mb_strlen($row[name],"utf-8");
       $name_num=$name_len-1;
       $arr = "";
        for($j=1;$j<=$name_num;$j++){
          $arr=$arr."*";
        }

        $fname = mb_substr($row[name],0,1,"utf-8");
        $name = $fname.$arr;

        echo $name;


    ?>   


1 2 3 4


통계 위젯 (블랙)

03
17
188