PHPFusion - tai laisvai platinama nemokama turinio valdymo sistema (TVS), kurios pagalba galite greitai, lengvai ir
patogiai susikurti norimą internetinį puslapį. Plačiau apie sistemą...
Sveiki norėčiau paklausti kaip būtu galima pridėti papildomus laukus naujienai kaip čia http://gerifilmai.net/laukines-a...n1554.html ten kur peržiūra ?. Ir kaip padaryt kad double_panel infusione veiktu title.js ? Ir dar , kaip pritaikyt filmai.php tam tikrai naujienų kategorijai ?
//$result = dbquery("SELECT * FROM ".$db_prefix."news ORDER BY news_datestamp DESC LIMIT 0,4"); $result= dbquery( "SELECT * FROM ".DB_NEWS."
WHERE news_draft='0' ORDER BY news_datestamp DESC
LIMIT ".$_GET['rowstart'].",$items_per_page" );
if(dbrows($result)!=0){ $counter=0;$columns=4; echo"<table cellpadding='0' cellspacing='0' width='5%' style='padding:1px;'>\n<tr>\n"; while($data= dbarray($result)){ //$kat = dbresult(dbquery("SELECT download_cat_name FROM ".$db_prefix."download_cats WHERE download_cat_id='$id'"), 0); if($counter!=0&&($counter%$columns==0)){echo"</tr>\n<tr>\n";}
$wynik= dbquery("SELECT SUM(rating_vote) FROM ".DB_RATINGS." WHERE rating_type='N' AND rating_item_id='".$data['news_id']."'"); $info2= dbresult($wynik,0); $num_rating= dbcount("(rating_vote)", DB_RATINGS,"rating_type='N' AND rating_item_id='".$data['news_id']."'"); $wyn_rating=($num_rating ? $info2/$num_rating:0); $komentarai= dbcount("(comment_id)", DB_COMMENTS,"comment_type='N' AND comment_item_id='".$data['news_id']."' AND comment_hidden='0'"); // $tas = trimlink($data['news_news'], 600); $tas=$data['news_breaks']=="y" ? nl2br(stripslashes($data['news_news'])):stripslashes($data['news_news']);
//Disable right mouse click Script
//By Maximus () w/ mods by DynamicDrive
//For full source code, visit <a href='http://www.dynami...' target='_blank'><span style='color:005C5B'>http://www.dynami...</span></a>
var message="Kopijuoti negalima!!!";
///////////////////////////////////
function clickIE4(){
if (event.button==2){
alert(message);
return false;
}
}
function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
alert(message);
return false;
}
}
}
if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS4;
}
else if (document.all&&!document.getElementById){
document.onmousedown=clickIE4;
}