fix report problem

This commit is contained in:
yi12345
2013-06-30 01:24:29 +03:00
parent 483e0b5cf5
commit 8470e618a3
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -6,6 +6,7 @@
############################################################ ############################################################
$dataarray = explode(",",$message->readingNotice['data']); $dataarray = explode(",",$message->readingNotice['data']);
if(isset($dataarray[151]) and $dataarray[151]!=0){$colspan="11";}else{$colspan="10";} if(isset($dataarray[151]) and $dataarray[151]!=0){$colspan="11";}else{$colspan="10";}
$colspan2 = 10;
?> ?>
<table cellpadding="1" cellspacing="1" id="report_surround"> <table cellpadding="1" cellspacing="1" id="report_surround">
<thead> <thead>
+1
View File
@@ -9,6 +9,7 @@ $time = $database->getNotice2($_GET['id'], 'time');
$data = $database->getNotice2($_GET['id'], 'data'); $data = $database->getNotice2($_GET['id'], 'data');
$dataarray = explode(",",$data); $dataarray = explode(",",$data);
if($dataarray[151]!='' and $dataarray[151]!=0){$colspan="11";}else{$colspan="10";} if($dataarray[151]!='' and $dataarray[151]!=0){$colspan="11";}else{$colspan="10";}
$colspan2 = 10;
?> ?>
<table cellpadding="1" cellspacing="1" id="report_surround"> <table cellpadding="1" cellspacing="1" id="report_surround">
<thead> <thead>