14.11.2010, 09:23
Well i need help with LSTNE UCP , it's compatible with my GM but the pages doesnt show as them should be.
I mean the design ,it's still showing php script...like
Who can help me , just send a PM and we'll talk about.
I mean the design ,it's still showing php script...like
PHP код:
; $rowsPerPage = 3; $pageNum = 1; if(isset($_GET['site'])) { $pageNum = $_GET['site']; } $offset = ($pageNum - 1) * $rowsPerPage; $tname = "news"; $query = "SELECT id,Topic,Newspost,Date,TopicStarter FROM $tname ORDER BY Date DESC LIMIT $offset, $rowsPerPage"; $result = mysql_query("$query") or die("Table Content Request Failed: " . mysql_error()); if(mysql_num_rows($result) == 0) { ?> News Archive is empty RE: '.$row['Topic'].''; if($_SESSION['Admin'] >= 3) { echo ' - Edit News / Delete Post'; }else{ echo ''; } echo '
'.$row['Newspost'].'