쇼핑몰관리자 : #32 매출현황 표준화 및 스타일

This commit is contained in:
rollydream
2013-04-04 10:47:10 +09:00
parent 9c31a66867
commit 12ee2b02f8
4 changed files with 59 additions and 61 deletions

View File

@ -81,7 +81,7 @@ $result = sql_query($sql);
} }
if ($i == 0){ if ($i == 0){
echo '<tr><td colspan="5" class="faq_center"><span class="faq_center">자료가 한건도 없습니다.</span></td></tr>'; echo '<tr><td colspan="5" class="faq_center"><span>자료가 한건도 없습니다.</span></td></tr>';
} }
?> ?>
</tbody> </tbody>

View File

@ -7,64 +7,62 @@ auth_check($auth[$sub_menu], "r");
$g4['title'] = '매출현황'; $g4['title'] = '매출현황';
include_once (G4_ADMIN_PATH.'/admin.head.php'); include_once (G4_ADMIN_PATH.'/admin.head.php');
?> ?>
<style type="text/css">
<?//=subtitle($g4['title'])?> .sale1 {text-align:right}
</style>
<table cellpadding=0 cellspacing=0 border=0> <section class="cbox">
<colgroup width=150></colgroup> <h2>매출현황</h2>
<colgroup width='' bgcolor=#ffffff></colgroup> <table class="frm_tbl">
<tr><td colspan=2 height=2 bgcolor=#0E87F9></td></tr> <tbody>
<tr height=40> <tr>
<form name=frm_sale_today action='./sale1today.php'> <form name="frm_sale_today" action="./sale1today.php">
<td>당일 매출현황</td> <th scope="row"> 당일 매출현황</th>
<td align=right> <td class="sale1">
<input type=text name=date size=8 maxlength=8 value='<? echo date("Ymd", G4_SERVER_TIME) ?>' class=ed> <input type="text" name="date" size="8" maxlength="8" value="<? echo date("Ymd", G4_SERVER_TIME) ?>" id="date" class="frm_input">
일 하루 <label for="date">일 하루</label>
<input type=submit class=btn1 value=' 확 인 '> <input type="submit" value="확 인">
</td> </td>
</form> </form>
</tr> </tr>
<tr><td colspan=2 height=1 bgcolor=#CCCCCC></td></tr> <tr>
<tr height=40> <form name="frm_sale_date" action="./sale1date.php">
<form name=frm_sale_date action='./sale1date.php'> <th scope="row">일별 매출현황</th>
<td>일별 매출현황</td> <td class="sale1">
<td align=right> <input type="text" name="fr_date" value="<? echo date("Ym01", G4_SERVER_TIME) ?>" id="fr_date" class="frm_input" size="8" maxlength="8">
<input type=text name=fr_date size=8 maxlength=8 value='<? echo date("Ym01", G4_SERVER_TIME) ?>' class=ed> <label for="fr_date">일 부터</label>
일 부터 <input type="text" name="to_date" value="<? echo date("Ymd", G4_SERVER_TIME) ?>" id="to_date" class="frm_input" size="8" maxlength="8">
<input type=text name=to_date size=8 maxlength=8 value='<? echo date("Ymd", G4_SERVER_TIME) ?>' class=ed> <label for="to_date">일 까지</label>
일 까지 <input type="submit" value="확 인">
<input type=submit class=btn1 value=' 확 인 '> </td>
</td> </form>
</form> </tr>
</tr> <tr>
<tr><td colspan=2 height=1 bgcolor=#CCCCCC></td></tr> <form name="frm_sale_month" action="./sale1month.php">
<tr height=40> <th scope="row">월별 매출현황</th>
<form name=frm_sale_month action='./sale1month.php'> <td class="sale1">
<td>월별 매출현황</td> <input type="text" name="fr_month" value="<? echo date("Y01", G4_SERVER_TIME) ?>" id="fr_month" class="frm_input" size="6" maxlength="6">
<td align=right> <label for="fr_month">월 부터</label>
<input type=text name=fr_date size=6 maxlength=6 value='<? echo date("Y01", G4_SERVER_TIME) ?>' class=ed> <input type="text" name="to_month" value="<? echo date("Ym", G4_SERVER_TIME) ?>" id="to_month" class="frm_input" size="6" maxlength="6">
월 부터 <label for="to_month">월 까지</label>
<input type=text name=to_date size=6 maxlength=6 value='<? echo date("Ym", G4_SERVER_TIME) ?>' class=ed> <input type="submit" value="확 인">
월 까지 </td>
<input type=submit class=btn1 value=' 확 인 '> </form>
</td> </tr>
</form> <tr>
</tr> <form name="frm_sale_year" action="./sale1year.php">
<tr><td colspan=2 height=1 bgcolor=#CCCCCC></td></tr> <th scope="row">연별 매출현황</th>
<tr height=40> <td class="sale1">
<form name=frm_sale_year action='./sale1year.php'> <input type="text" name="fr_year" size="4" maxlength="4" value="<? echo date("Y", G4_SERVER_TIME)-1 ?>"id="fr_year" class="frm_input">
<td>연별 매출현황</td> <label for="fr_year">년 부터</label>
<td align=right> <input type="text" name="to_year" size="4" maxlength="4" value="<? echo date("Y", G4_SERVER_TIME) ?>" id="to_year" class="frm_input">
<input type=text name=fr_date size=4 maxlength=4 value='<? echo date("Y", G4_SERVER_TIME)-1 ?>' class=ed> <label for="to_year">년 까지</label>
년 부터 <input type="submit" value="확 인">
<input type=text name=to_date size=4 maxlength=4 value='<? echo date("Y", G4_SERVER_TIME) ?>' class=ed> </td>
년 까지 </form>
<input type=submit class=btn1 value=' 확 인 '> </tr>
</td> </tbody>
</form> </table>
</tr> </section>
<tr><td colspan=2 height=2 bgcolor=#0E87F9></td></tr>
</table>
<? <?
include_once (G4_ADMIN_PATH.'/admin.tail.php'); include_once (G4_ADMIN_PATH.'/admin.tail.php');

View File

@ -7,7 +7,7 @@ auth_check($auth[$sub_menu], "r");
$fr_date = preg_replace("/([0-9]{4})([0-9]{2})/", "\\1-\\2", $fr_date); $fr_date = preg_replace("/([0-9]{4})([0-9]{2})/", "\\1-\\2", $fr_date);
$to_date = preg_replace("/([0-9]{4})([0-9]{2})/", "\\1-\\2", $to_date); $to_date = preg_replace("/([0-9]{4})([0-9]{2})/", "\\1-\\2", $to_date);
$g4['title'] = "$fr_date ~ $to_date 매출현황"; $g4['title'] = "$fr_month ~ $to_month 매출현황"; /*레이블 중복 인식과 페이지와의 연결 때문에 year로 바꿈 김혜련 2013-04-04*/
include_once (G4_ADMIN_PATH.'/admin.head.php'); include_once (G4_ADMIN_PATH.'/admin.head.php');
function print_line($save) function print_line($save)

View File

@ -4,7 +4,7 @@ include_once('./_common.php');
auth_check($auth[$sub_menu], "r"); auth_check($auth[$sub_menu], "r");
$g4['title'] = "$fr_date ~ $to_date 매출현황"; $g4['title'] = "$fr_year ~ $to_year 매출현황"; /*레이블 중복 인식과 페이지와의 연결 때문에 year로 바꿈 김혜련 2013-04-04*/
include_once (G4_ADMIN_PATH.'/admin.head.php'); include_once (G4_ADMIN_PATH.'/admin.head.php');
function print_line($save) function print_line($save)