0fe68819 by sayhoChun

hotfix) additional devel done

1 parent a9cad323
Showing 160 changed files with 35 additions and 6 deletions
This diff could not be displayed because it is too large.
...@@ -171,6 +171,7 @@ ...@@ -171,6 +171,7 @@
171 <tr> 171 <tr>
172 <th class="no" width="5%">No</th> 172 <th class="no" width="5%">No</th>
173 <th width="2%"><input type="checkbox" id="jCheckAll"></th> 173 <th width="2%"><input type="checkbox" id="jCheckAll"></th>
174 <th width="10%">하위메뉴</th>
174 <th width="50%">제목</th> 175 <th width="50%">제목</th>
175 <th width="10%">등록일</th> 176 <th width="10%">등록일</th>
176 <th width="10%">-</th> 177 <th width="10%">-</th>
...@@ -187,6 +188,29 @@ ...@@ -187,6 +188,29 @@
187 <input type="checkbox" class="jNo" value="<?=$list[$i]["ppNo"] ?>" > 188 <input type="checkbox" class="jNo" value="<?=$list[$i]["ppNo"] ?>" >
188 </td> 189 </td>
189 <td class="center"> 190 <td class="center">
191 <?
192 switch($list[$i]["productionType"]){
193 case "WB":
194 echo "윙바디";
195 break;
196 case "UW":
197 echo "상승윙바디";
198 break;
199 case "FW":
200 echo "냉동윙바디";
201 break;
202 case "FC":
203 echo "냉동컨테이저/탑";
204 break;
205 case "SP":
206 echo "특수차량";
207 break;
208 default :
209 break;
210 }
211 ?>
212 </td>
213 <td class="center">
190 <?=$list[$i]["title"]?> 214 <?=$list[$i]["title"]?>
191 </td> 215 </td>
192 <td class="center"> 216 <td class="center">
......
...@@ -316,7 +316,10 @@ if (! class_exists("ApiBoard")) ...@@ -316,7 +316,10 @@ if (! class_exists("ApiBoard"))
316 $this->setPageForDevice($this->rownum); 316 $this->setPageForDevice($this->rownum);
317 317
318 $sql=" 318 $sql="
319 SELECT * FROM tblStaffBoard WHERE status=1 ORDER BY regDate DESC 319 SELECT *, (SELECT userName FROM tblUser where userNo = userFk) AS userName
320 FROM tblStaffBoard
321 WHERE status=1
322 ORDER BY regDate DESC
320 LIMIT {$this->startNum}, {$this->endNum} 323 LIMIT {$this->startNum}, {$this->endNum}
321 "; 324 ";
322 325
...@@ -365,10 +368,11 @@ if (! class_exists("ApiBoard")) ...@@ -365,10 +368,11 @@ if (! class_exists("ApiBoard"))
365 title = '{$title}', 368 title = '{$title}',
366 content = '{$content}', 369 content = '{$content}',
367 imgPathSBoard1 = '{$imgPath1}', 370 imgPathSBoard1 = '{$imgPath1}',
368 imgPathSBoard2 = '{$imgPath1}', 371 imgPathSBoard2 = '{$imgPath2}',
369 imgPathSBoard3 = '{$imgPath1}', 372 imgPathSBoard3 = '{$imgPath3}',
370 imgPathSBoard4 = '{$imgPath1}', 373 imgPathSBoard4 = '{$imgPath4}',
371 imgPathSBoard5 = '{$imgPath1}', 374 imgPathSBoard5 = '{$imgPath5}'
375 WHERE sBoardNo = '{$no}'
372 "; 376 ";
373 $retMsg = "수정되었습니다"; 377 $retMsg = "수정되었습니다";
374 } 378 }
......
...@@ -544,13 +544,14 @@ if (! class_exists("AdminBoard")){ ...@@ -544,13 +544,14 @@ if (! class_exists("AdminBoard")){
544 544
545 545
546 $sql=" 546 $sql="
547 SELECT ppNo, title, regDate 547 SELECT ppNo, title, regDate, productionType
548 FROM tblProductionPortrait 548 FROM tblProductionPortrait
549 WHERE status=1 549 WHERE status=1
550 ORDER BY ppNo DESC 550 ORDER BY ppNo DESC
551 {$limit} 551 {$limit}
552 "; 552 ";
553 $result=$this->getArray($sql); 553 $result=$this->getArray($sql);
554
554 return $result; 555 return $result;
555 } 556 }
556 557
......