예제 #1
0
<script>getMenuTable(1,"보드데이터 분석")</script>
<!--------------------------------------------------------------------------------------------->

<table class='SubMenu'>
<tr>
	<td width=2></td><td><img src='./image/dot_01.gif'></td>
	<td><font color='#B002D0'>게시판 Total Status >></font></td>
</tr>
</table>

<table cellspacing=0 cellpadding=0>
<tr>
	<td width=16></td>
	<td><img src='./image/dot_04.gif' align=absmiddle>
	게시판수 : <b><?php 
$bdnum = getFilesNum('../bbs/table');
echo $bdnum;
?>
</b>
	</td>
</tr>
<tr>
	<td width=16></td>
	<td><img src='./image/dot_04.gif' align=absmiddle>
	테이블수 : <b><?php 
echo $bdnum * 3;
?>
</b>
	</td>
</tr>
<tr>
예제 #2
0
    return $i - 2;
}
if ($action == 'code_save') {
    $code = trim(stripslashes($code));
    $fp = fopen('../bbs/lib/include/data/output/' . $inc_type . '/' . $fname . '.php', 'w');
    fwrite($fp, $code);
    fclose($fp);
    @chmod('../bbs/lib/include/data/output/' . $inc_type . '/' . $fname . '.php', 0707);
    getLink($THIS_FILE, $alert, $history);
}
if ($action == 'delete') {
    @unlink($file);
    getLink($THIS_FILE, $alert, $history);
}
$IncludeNum = getFilesNum('../bbs/lib/include/data/output/include');
$IframeNum = getFilesNum('../bbs/lib/include/data/output/iframe');
$OutputNum = $IncludeNum + $IframeNum;
include './inc/header.php';
?>

<script language=javascript>
function OutPutCheck(f)
{
	if (f.table.value == '')
	{
		alert('\n추출할 게시판을 선택해 주세요.       \n');
		f.table.focus();
		return false;
	}
}
function SaveCheck(f)
예제 #3
0
<?php

include_once 'saestorage.class.php';
$stor = new SaeStorage();
$file_url = $stor->getUrl("darkblue", "100.jpg");
echo $file_url;
//http://darkblueacgstandby-darkblue.stor.sinaapp.com/images/loli/100.jpg
$pic_url = "http://darkblueacgstandby-darkblue.stor.sinaapp.com/images/loli/" . $random_id . ".jpg";
$domain = "darkblue";
$path = "darkblue/images/loli";
$pic_num = getFilesNum($domain, $path);
echo $pic_num;
// 列出 Domain 下所有路径以photo开头的文件
$stor = new SaeStorage();
$num = 0;
//string $domain, [string $prefix = NULL], [int $limit = 10], [int $offset = 0]
while ($ret = $stor->getList("darkblue", NULL, 100, $num)) {
    foreach ($ret as $file) {
        // echo "{$file}\n";
        $num++;
    }
}
// echo "\nTOTAL: {$num} files\n";
예제 #4
0
	var tmp_p     = document.getElementById('tmp_p').value;
	location.href = 'bod_cfgmanager.php?table=' + tmp_table + '&p=' + tmp_p;
}
function getHideVar()
{
	document.getElementById('perm_lay').style.display = 'none';
}
</script>

<script>getMenuTable(1,"게시판 환경설정")</script>

<table cellspacing=0 cellpadding=0 class='SubMenu' width=100%>
<tr>
	<td width=7></td><td width=1><img src='./image/dot_01.gif'></td>
	<td>보드 전체목록(<?php 
echo getFilesNum('../bbs/table');
?>
)</td>
	<td align=right><img src='./image/dot_06.gif'></td>
</tr>
</table>

<table cellspacing=0 cellpadding=0 width=100%>
<?php 
/********************************/
$Member_Sel = getMemberForm('', '', true);
$DB_DIR = opendir("../bbs/table");
while (false !== ($gtable = readdir($DB_DIR))) {
    if (!strstr($gtable, '.')) {
        include '../bbs/table/' . $gtable . '/var.php';
        $varque = "{$bbs['UseSiteHtml']}|{$bbs['HeaderSkin']}|{$bbs['FooterSkin']}|{$bbs['Skin']}|{$bbs['Icon']}|{$bbs['ListPm']}|";
예제 #5
0
<?php 
        /********************************/
    }
}
closedir($DB_DIR);
/********************************/
?>
</table>

<p>

<table cellspacing=0 cellpadding=0 class='SubMenu' width=100%>
<tr>
	<td width=7></td><td width=1><img src='./image/dot_01.gif'></td>
	<td><a href='./add_fmanager.php?pwd=../template/footer/' target='_blank'><b>Footer Skin</b></a>(<?php 
echo getFilesNum('../template/footer');
?>
) -
	<font class=Blink onclick="newSkin('footer',event)">추가</font></td>
</tr>
</table>

<table cellspacing=0 cellpadding=0 width=100%>
<?php 
/********************************/
$DB_DIR = opendir("../template/footer");
while (false !== ($gfooter = readdir($DB_DIR))) {
    if (!strstr($gfooter, '.')) {
        /********************************/
        ?>