[MU] Vấn đề về web tv 3.0 - Trang 2
Hello & Welcome to our community. Is this your first visit? Đăng Ký
Follow us on
Follow us on Facebook Follow us on Twitter Linked In Flickr Watch us on YouTube My Space Blogger
 
Trang 2 của 2 Đầu tiênĐầu tiên 1 2
Kết quả 11 đến 14 của 14
  1. #11
    Thành Viên
    Ngày tham gia
    Oct 2010
    Bài viết
    213
    Thanks
    178
    Thanked 13 Times in 11 Posts

    Ðề: vấn đề về web tv 3.0

    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
    Khách viếng thăm hãy cùng anhvu6 xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!

  2. #12
    Thành Viên
    Ngày tham gia
    May 2009
    Bài viết
    24
    Thanks
    2
    Thanked 4 Times in 4 Posts

    Ðề: vấn đề về web tv 3.0

    Warning: file(Database.dat) [[Only registered and activated users can see links. ]]: 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) [[Only registered and activated users can see links. ]]: 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
    Khách viếng thăm hãy cùng hainam79 xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!

  3. #13
    Thành Viên
    Ngày tham gia
    Oct 2010
    Bài viết
    213
    Thanks
    178
    Thanked 13 Times in 11 Posts

    Ðề: Vấn đề về web tv 3.0

    file nào chạy đi đâu @@.vẫn trong đó mà
    Khách viếng thăm hãy cùng anhvu6 xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!

  4. #14
    Thành Viên
    Ngày tham gia
    Oct 2010
    Bài viết
    213
    Thanks
    178
    Thanked 13 Times in 11 Posts

    Ðề: Vấn đề về web tv 3.0

    <?
    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>&nbsp;
    <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>&nbsp;<img src='/imgs/new.gif' border='0' />";
    else $newsname=gioihankitu($row[1],50);
    if($catf==0 && $typenews=="top") {
    $noidung=@file_get_contents("newsdata/$row[0].txt");
    $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>&nbsp;<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") {
    $noidung=@file_get_contents("newsdata/$row[0].txt");
    $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>&nbsp;<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>&nbsp;
    <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>&nbsp;
    <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
    Khách viếng thăm hãy cùng anhvu6 xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!

 

 
Trang 2 của 2 Đầu tiênĐầu tiên 1 2

Quyền viết bài

  • Bạn Không thể gửi Chủ đề mới
  • Bạn Không thể Gửi trả lời
  • Bạn Không thể Gửi file đính kèm
  • Bạn Không thể Sửa bài viết của mình
  •  
Múi giờ GMT +7. Bây giờ là 05:19 AM.
vBulletin®, Copyright ©2000-2011, Jelsoft Enterprises Ltd.
CLBGamesVN không chịu trách nhiệm về Luật Bản Quyền của các tài liệu, bài viết v.v...được đăng tải trên diễn đàn này.
Diễn đàn phát triển dưới sự đóng góp của tất cả thành viên. BQT chỉ là những người thành lập ra sân chơi, quản lý và duy trì về mặt kỹ thuật, nội dung khi hợp lệ.