Skip to content
This repository has been archived by the owner on Jun 24, 2021. It is now read-only.

Commit

Permalink
<?php 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
chicpro committed Nov 22, 2016
1 parent 57a208f commit df4bbf8
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion adm/member_delete.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?
<?php
$sub_menu = "200100";
include_once("./_common.php");

Expand Down
2 changes: 1 addition & 1 deletion adm/member_list_delete.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?
<?php
$sub_menu = "200100";
include_once("./_common.php");

Expand Down
16 changes: 8 additions & 8 deletions adm/write_count.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
add_javascript('<script src="'.G5_PLUGIN_URL.'/jqplot/plugins/jqplot.pointLabels.min.js"></script>', 0);
add_javascript('<!--[if lt IE 9]><script src="'.G5_PLUGIN_URL.'/jqplot/excanvas.js"></script><![endif]-->', 0);

if (!($graph == 'line' || $graph == 'bar'))
if (!($graph == 'line' || $graph == 'bar'))
$graph = 'line';

if ($graph == 'bar') {
Expand Down Expand Up @@ -49,7 +49,7 @@
break;
}
}
if (!$is_period)
if (!$is_period)
$period = '오늘';

$day = $period_array[$period][0];
Expand All @@ -64,15 +64,15 @@
$from = $yesterday;
$to = $from;
} else if ($period == '내일') {
$from = date('Y-m-d', G5_SERVER_TIME + (86400 * 2));
$from = date('Y-m-d', G5_SERVER_TIME + (86400 * 2));
$to = $from;
} else {
$from = date('Y-m-d', G5_SERVER_TIME - (86400 * $period_array[$period][1]));
$from = date('Y-m-d', G5_SERVER_TIME - (86400 * $period_array[$period][1]));
$to = $yesterday;
}

$sql_bo_table = '';
if ($bo_table)
if ($bo_table)
$sql_bo_table = "and bo_table = '$bo_table'";

switch ($day) {
Expand Down Expand Up @@ -130,7 +130,7 @@
<form>
<select name="bo_table">
<option value="">전체게시판</a>
<?php
<?php
$sql = " select bo_table, bo_subject from {$g5['board_table']} order by bo_count_write desc ";
$result = sql_query($sql);
for($i=0; $row=sql_fetch_array($result); $i++) {
Expand Down Expand Up @@ -179,7 +179,7 @@
var line1 = [<?php echo implode($line1, ','); ?>];
var line2 = [<?php echo implode($line2, ','); ?>];
var plot1 = $.jqplot ('chart1', [line1, line2], {
seriesDefaults: {
seriesDefaults: {
<?php if ($graph == 'bar') { ?>
renderer:$.jqplot.BarRenderer,
<?php } ?>
Expand All @@ -205,6 +205,6 @@
}
?>

<?
<?php
include_once ('./admin.tail.php');
?>

0 comments on commit df4bbf8

Please sign in to comment.