View Full Version : [MU] Vấn đề về web tv 3.0
 
 
ai biết cách fix phần tin tức ở tv 3.0 thì help mình với nó bị lỗi như vầy nè lên <b><font color=red>[Chỉ có thành viên mới xem link được. <a href="register.php"> Nhấp đây để đăng ký thành viên......</a>]</font></b> là thấy
upppppppppppppppppppppppppppppppppppppp
Domino9990
02-01-12, 02:56 PM
upppppppppppppppppppppppppppppppppppppp
không ai giúp dc thì, tìm cái WEb khác đi bạn. thấy mấy bữa nay có vấn đề này bạn vất vả nhỉ, mình pít là, mình giúp rồi. :D
đang định đổi qa nbb 4 của mr.hậu rãnh k qua cài dùm đi ;;)
Domino9990
02-01-12, 02:59 PM
đang định đổi qa nbb 4 của mr.hậu rãnh k qua cài dùm đi ;;)
bảng của Mr.Hau chưa hoàn thiện đâu mới dc có chức năng RS vip, bác ấy còn Update nữa đó.
hay bạn vào đây <b><font color=red>[Chỉ có thành viên mới xem link được. <a href="register.php"> Nhấp đây để đăng ký thành viên......</a>]</font></b> down cutenew về thay vào xem dc ko...
định thử cài mấy cái nbb.mà k biết nó giống tv k.sợ cài tý tùm lum
Domino9990
02-01-12, 03:03 PM
định thử cài mấy cái nbb.mà k biết nó giống tv k.sợ cài tý tùm lum
thử NBb đi bạn thấy cũng dễ, nhiều chức năng hay nữa
hainam79
02-01-12, 03:05 PM
bạn thử config thư mục newdata thành 777 và file Database.dat thành 777 đi. chắc là hết bị lỗi đó
:D:D:D:D:D:D
accelan006
02-01-12, 03:10 PM
bạn hainam cho mình xin web của bạn được không nhỉ?
thử làm như trên rồi.nó bị lỗi ở cái tintuc ấy :|
Warning: file(Database.dat) [function.file]: failed to open stream: No such file or directory in C:\xampp\htdocs\line.php on line 2
Warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\line.php on line 3
Warning: file(Database.dat) [function.file]: failed to open stream: No such file or directory in C:\xampp\htdocs\tintuc.php on line 3
Fatal error: Maximum execution time of 60 seconds exceeded in C:\xampp\htdocs\tintuc.php on line 57 sau 1 thời gian trắng bóc cái nó hiện ra vậy
hainam79
02-01-12, 03:19 PM
Warning: file(Database.dat) [function.file (<b><font color=red>[Chỉ có thành viên mới xem link được. <a href="register.php"> Nhấp đây để đăng ký thành viên......</a>]</font></b>)]: failed to open stream: No such file or directory inC:\xampp\htdocs\line.php on line 2
 Warning: Invalid argument supplied for foreach() inC:\xampp\htdocs\line.php on line 3
 Warning: file(Database.dat) [function.file (<b><font color=red>[Chỉ có thành viên mới xem link được. <a href="register.php"> Nhấp đây để đăng ký thành viên......</a>]</font></b>)]: failed to open stream: No such file or directory inC:\xampp\htdocs\tintuc.php on line 3
 Fatal error: Maximum execution time of 60 seconds exceeded in C:\xampp\htdocs\tintuc.php on line25
file của bạn chạy đi đâu rồi
<b><font color=red>[Chỉ có thành viên mới xem link được. <a href="register.php"> Nhấp đây để đăng ký thành viên......</a>]</font></b>
<?
include("line.php");
$tt=file("Database.dat");
$page_end=$line_num;
$newsnum=0;
switch($_GET['cat']) {
	case 'tintuc':
		$catf=0;
		break;
	case 'sukien':
		$catf=1;
		break;
	case 'thongbao':
		$catf=2;
		break;
	case 'congdong':
		$catf=3;
		break;
}
$countpage=0;
$countnews=0;
for($i=$page_end;$i>=0;$i--) {
	$row=explode("||",$tt[$i]);
	if (isset($_GET['action'])) {
		if ($_GET['cat']=="tintuc" || $_GET['cat']=="sukien") {
		if(($row[5]==0 || $row[5]==1)) {
			$countpage++;
?>
<tr>
	<td height="30" class="tintuc_stt"><? echo $countpage; ?></td>
	<td class="tintuc_tenbai">
	<span><a href="/News/Page1/SuKien.aspx"<? if ($row[5]==0) {?> style="color:#00f2c7; font-weight:normal">[ Tin tức ]<?} else if ($row[5]==1) {?> style="color:#ff6c00; font-weight:normal">[ Sự kiện ]<?}?></a></span> 
	<a href="show.php?page=news&cat=<? echo $_GET['cat'];?>&id=<? echo $row[0];?>&title=<? echo $row[1];?>" title="<? echo $row[1];?>"><? echo $row[1];?></a></td>
	<td class="tintuc_stt"><? echo $row[2];?></td>
	<td class="tintuc_stt"><? echo $row[4];?></td>
</tr>
<?
		}
		}else{
		if($row[5]==$catf) {
			$countpage++;
?>
<tr>
	<td height="30" class="tintuc_stt"><? echo $countpage; ?></td>
	<td class="tintuc_tenbai">
	<a href="show.php?page=news&cat=<? echo $_GET['cat'];?>&id=<? echo $row[0];?>&title=<? echo $row[1];?>" title="<? echo $row[1];?>"><? echo $row[1];?></a></td>
	<td class="tintuc_stt"><? echo $row[2];?></td>
	<td class="tintuc_stt"><? echo $row[4];?></td>
</tr>
<?
		}
		}
	}
	else if(!isset($_GET['cat'])) {
		if($row[5]==$catf ) {
			$countnews++;
			$newsnum++;
			if($countnews==1 || $countnews==2) $newsname="<strong style='color:#bee0f2;'>".gioihankitu($row[1],50)."</strong> <img src='/imgs/new.gif' border='0' />";
			else $newsname=gioihankitu($row[1],50);
			if($catf==0 && $typenews=="top") {
<b><font color=red>[Chỉ có thành viên mới xem link được. <a href="register.php"> Nhấp đây để đăng ký thành viên......</a>]</font></b>
				$noidung=gioihankitu($noidung,150);
?>
                                                            <div class="tintucsukien_center1_img"><img src="/Images/News/Title/1301527170.jpg" /></div>
                                                            <div class="tintucsukien_center1_txt">
                                                                <div class="tintucsukien_center1_txt1">
                                                                    <span><? echo gioihankitu($row[1],50);?></span>
																	<a href="show.php?page=news&cat=<? echo $cat;?>&id=<? echo $row[0];?>&title=<? echo $row[1];?>" title="<? echo $row[1];?>" title="<? echo $row[1];?>"><strong style="color:#bee0f2;"><? echo gioihankitu($row[1],50);?></strong> <img src="/imgs/new.gif" border="0" /></a>
																</div>
                                                                <div class="tintucsukien_center1_txt2"><?php echo substr($row[2],0,5);?></div>
                                                                <div class="tintucsukien_center1_txt3"><? echo $noidung; ?></div>
                                                            </div>
<?
				$typenews="";
				break;
			}
			if($catf==2 && $typenews=="top") {
<b><font color=red>[Chỉ có thành viên mới xem link được. <a href="register.php"> Nhấp đây để đăng ký thành viên......</a>]</font></b>
				$noidung=gioihankitu($noidung,150);
?>
                                                        <div class="thongbao_ct1_img"><img src="/Images/News/Title/1301821957.jpg" /></div>
                                                        <div class="thongbao_ct1_txt">
                                                            <div class="thongbao_ct1_txt1">
                                                                <span><? echo gioihankitu($row[1],50);?></span>
																<a href="show.php?page=news&cat=<? echo $cat;?>&id=<? echo $row[0];?>&title=<? echo $row[1];?>" title="<? echo $row[1];?>"><strong style="color:#bee0f2;"><? echo gioihankitu($row[1],50);?></strong> <img src="/imgs/new.gif" border="0" /></a></div>
                                                            <div class="thongbao_ct1_txt2"><?php echo $row[2];?></div>
                                                            <div class="thongbao_ct1_txt3"><? echo $noidung; ?></div>
                                                        </div>
<?
				$typenews="";
				break;
			}
			if($catf==0) {
				if ($newsnum==1) continue;
?>
                                                        <div class="tintucsukien_center_bottom_block">
														<div class="tintucsukien_center_bottom_li"></div>
														<div class="tintucsukien_center_bottom_txt">
															<span><a href="/News/Page1/SuKien.aspx" style="color:#00f2c7; font-weight:normal">[ Tin tức ]</a></span> 
															<a href="show.php?page=news&cat=<? echo $cat;?>&id=<? echo $row[0];?>&title=<? echo $row[1];?>" title="<? echo $row[1];?>"><? echo $newsname;?></a>
														</div>
														<div class="tintucsukien_center_bottom_date"><?php echo substr($row[2],0,5);?></div>
													</div>
<?
				if ($newsnum==3) break;
			}
			if($catf==1) {
?>
                                                        <div class="tintucsukien_center_bottom_block">
														<div class="tintucsukien_center_bottom_li"></div>
														<div class="tintucsukien_center_bottom_txt">
															<span><a href="/News/Page1/SuKien.aspx" style="color:#ff6c00; font-weight:normal">[ Sự kiện ]</a></span> 
															<a href="show.php?page=news&cat=<? echo $cat;?>&id=<? echo $row[0];?>&title=<? echo $row[1];?>" title="<? echo $row[1];?>"><? echo $newsname;?></a>
														</div>
														<div class="tintucsukien_center_bottom_date"><?php echo substr($row[2],0,5);?></div>
													</div>
<?
				if($newsnum==2) break;
			}
			if($catf==2) {
				if($newsnum==1) continue;
?>
                                                        <div class="thongbao_ct2_block">
                                                            <div class="thongbao_ct2_block_1"></div>
                                                            <div class="thongbao_ct2_block_2">
                                                                <a href="show.php?page=news&cat=<? echo $cat;?>&id=<? echo $row[0];?>&title=<? echo $row[1];?>" title="<? echo $row[1];?>"><? echo $newsname;?></a>
															</div>
                                                            <div class="thongbao_ct2_block_3"><?php echo substr($row[2],0,5);?></div>
                                                        </div>
<?
				if($newsnum==5) break;
			}
			if($catf==3) {
?>
                                                        <div class="baotri_center_bottom_block">
															<div class="tintucsukien_center_bottom_li"></div>
															<div class="tintucsukien_center_bottom_txt">
                                                                <a href="show.php?page=news&cat=<? echo $cat;?>&id=<? echo $row[0];?>&title=<? echo $row[1];?>" title="<? echo $row[1];?>"><? echo $newsname;?></a>
															</div>
															<div class="tintucsukien_center_bottom_date"><?php echo substr($row[2],0,5);?></div>
														</div>
<?
				if($newsnum==5) break;
			}
		}
	}
	else if (isset($_GET['cat']))
	{
		if ($_GET['cat']=="tintuc" || $_GET['cat']=="sukien") {
		if(($row[5]==0 || $row[5]==1) && $row[0]!=$id) {
			$countpage++;
?>
<tr>
	<td height="30" class="tintuc_stt"><? echo $countpage; ?></td>
	<td class="tintuc_tenbai"><a href="show.php?page=news&cat=<? echo $_GET['cat'];?>&id=<? echo $row[0];?>&title=<? echo $row[1];?>" title="<? echo $row[1];?>"><? echo $row[1];?></a></td>
	<td class="tintuc_stt"><? echo $row[2];?></td>
	<td class="tintuc_stt"><? echo $row[4];?></td>
</tr>
<?
		}
		}else{
		if($row[5]==$catf && $row[0]!=$id) {
			$countpage++;
?>
<tr>
	<td height="30" class="tintuc_stt"><? echo $countpage; ?></td>
	<td class="tintuc_tenbai"><a href="show.php?page=news&cat=<? echo $_GET['cat'];?>&id=<? echo $row[0];?>&title=<? echo $row[1];?>" title="<? echo $row[1];?>"><? echo $row[1];?></a></td>
	<td class="tintuc_stt"><? echo $row[2];?></td>
	<td class="tintuc_stt"><? echo $row[4];?></td>
</tr>
<?
		}
		}
		//if($countpage==10) break;
	}
}
if($countpage==0 AND isset($_GET['action']))
{
	echo "<script>alert('Page Not Found'); window.location='index.php';</script>";
}
?>
nguyên văn trong cái tin tức :|
 
Powered by vBulletin® Version 4.2.0 Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.