Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: del Seo ir saukyklos

Parašė Bamas· 2009 Rugs. 18 14:09:35
#1

Pasidariau kad puslapis atsidarinetu pradinis.html galune bet kai noriu rasyti zinute i saukykla mane ismeta i news.php ir nerodo saukyklos ir neparaso zinutes.ka reikia pekeisti ir kur gal zinot?

Parašė Lite· 2009 Rugs. 18 15:09:22
#2

Logiškai mastant reiktų peržvelgti infusions/shoutbox_panel/Shoutbox_panel.php :)

Redagavo Lite· 2009 Rugs. 18 15:09:40

Parašė Bamas· 2009 Rugs. 18 15:09:43
#3

perziurejau buvo news.php index.php pakeiciau i pradinis.html vistiek tas pats.

Parašė FuturesF1re· 2009 Rugs. 18 15:09:27
#4

tau ir settingsus reikejo pakeisti i pradinis.html

Parašė Bamas· 2009 Rugs. 18 15:09:35
#5

Pakeista ir tai.daugiau nuomoniu ?

Parašė Kelmas· 2009 Rugs. 18 15:09:58
#6

Tokie jūsų SEO mažai kuom padės... reikia SEO skirti tokiems dalykams kaip forumo temoms ir pan..

Parašė ex-it· 2009 Rugs. 18 15:09:49
#7

FUSION_SELF keisk i pradinis.html, nes kad tu ir rewritines esi, tau vistiek $_SERVER['PHP_SELF'] rodo tikraja nuoroda.

Parašė Bamas· 2009 Rugs. 18 15:09:59
#8

Pas mane forumo nera.Tai nieks nezino kur ieskoti bedos?

Parašė ex-it· 2009 Rugs. 18 15:09:54
#9

Prie ko cia forumas?

Parašė ex-it· 2009 Rugs. 18 15:09:34
#10

Cia net ne seo pas ji :D tiesiog rewritas :D

Parašė Bamas· 2009 Rugs. 18 15:09:43
#11

ziurek ex-it tu kzka idomesnio pasakiai cia saukuklos failas:
<?php
/*--------------------------------------------+
| PHP-Fusion v6 - Content Management System   |
|---------------------------------------------|
| author: Nick Jones (Digitanium) © 2002-2005 |
| web: http://www.php-fusion.co.uk            |
| email: nick@php-fusion.co.uk                |
|---------------------------------------------|
| Released under the terms and conditions of  |
| the GNU General Public License (Version 2)  |
+--------------------------------------------*/
if (!defined("IN_FUSION")) { header("Location:../../index.php"); exit; }

//echo "<script type='text/javascript' src='".INFUSIONS."shoutbox_panel/js/gpe.js' language='Javascript'></script>";
opentable($locale['120']);
if ($action == "delete") {
$result = dbquery("DELETE FROM ".DB_PREFIX."shoutbox WHERE shout_id='$shout_id'");
   }
if (isset($_POST['saveshout'])) {
if ($action == "edit") {
$shout_message = str_replace("\n", " ", $_POST['shout_message']);
$shout_message = preg_replace("/^(.{255}).*$/", "$1", $shout_message);
$shout_message = preg_replace("/([^\s]{25})/", "$1\n", $shout_message);
$shout_message = trim(stripinput(censorwords($shout_message)));
$shout_message = str_replace("\n", "<br>", $shout_message);
$result = dbquery("UPDATE ".DB_PREFIX."shoutbox SET shout_message='$shout_message' WHERE shout_id='$shout_id'");
header("Location:".BASEDIR."news.php");
   }
}

if ($action == "edit") {
$result = dbquery("SELECT * FROM ".DB_PREFIX."shoutbox WHERE shout_id='$shout_id'");
$data = dbarray($result);
   echo "<form name='chatform' method='post' action='".FUSION_SELF.(FUSION_QUERY ? "?".FUSION_QUERY : "")."'>";
   echo "<table align='center' cellspacing='0' cellpadding='0' class='tbl'><tr><td><font style='font-style:italic;font-family:Tahoma;font-size:8;color:#777777;'>EDIT SHOUT:</font></td></tr>";
   echo "<tr><td><textarea value='Shout' name='shout_message' rows='5' class='textbox' style='width:135;'>".str_replace("<br>", "", $data['shout_message'])."</textarea><br>";
   echo "<center><A href=\"javascript:show_hide(ShowHide5)\">";

   echo "<div id='ShowHide5' style='width:135;'><center>Click to close</center>";
   echo "<br><br>".displaysmileys("shout_message","chatform")."</td></tr>";

   echo "<tr><td align='center'><input type='submit' name='saveshout' value='Save' class='button'></td></tr></form></table>\n";
   echo "<script>show_hide(ShowHide5)</script>";

} else {
   if (isset($_POST['post_shout'])) {
   if (iMEMBER) {
   $shout_name = $userdata['user_id'];
   } elseif ($settings['guestposts'] == "1") {
   $shout_name = trim(stripinput($_POST['shout_name']));
   $shout_name = preg_replace("(^[0-9]*)", "", $shout_name);
   if (isNum($shout_name)) $shout_name="";
   }
   $shout_message = str_replace("\n", " ", $_POST['shout_message']);
   $shout_message = preg_replace("/^(.{255}).*$/", "$1", $shout_message);
   $shout_message = preg_replace("/([^\s]{25})/", "$1\n", $shout_message);
   $shout_message = trim(stripinput(censorwords($shout_message)));
   $shout_message = str_replace("\n", "<br>", $shout_message);
   if ($shout_name != "" && $shout_message != "") {
   $result = dbquery("INSERT INTO ".$db_prefix."shoutbox VALUES('', '$shout_name', '$shout_message', '".time()."', '".USER_IP."')");
}
   header("Location:".FUSION_SELF.(FUSION_QUERY ? "?".FUSION_QUERY : ""));
   }
   if (iMEMBER || $settings['guestposts'] == "1") {
   echo "<form name='chatform' method='post' action='".FUSION_SELF.(FUSION_QUERY ? "?".FUSION_QUERY : "")."' OnSubmit=\"document.forms['chatform'].post_shout.enabled = false;\">\n";
   echo "<table width='100%' cellpadding='2' cellspacing='1'><tr><td>";
   if (iGUEST) {
   echo $locale['121']."<br>";
   echo "<input type='text' name='shout_name' value='".$userdata['user_name']."' class='textbox' maxlength='32' style='width:100%;'><br>";
   echo "".$locale['122']."<br>\n";
   }
   echo "</td></tr>";
   echo "<tr><td><textarea value='Shout' name='shout_message' rows='5' class='textbox' style='width:100%;'></textarea><br>";

   echo "<div id='ShowHide2'><center>Click to close</center><br><br>";
   echo "".displaysmileys("shout_message","chatform")."</td></tr>";
   echo "<tr><td align='center'><input type='submit' name='post_shout' value='Ra&#240;yti prane&#240;im&#224;' class='button'>";
   echo "</td></td></tr></table></form>\n";
   
   echo "<script>show_hide(ShowHide2)</script>";
} else {
   echo "<center>".$locale['125']."</center><br>\n";
   }
}
   $result = dbquery("SELECT count(shout_id) FROM ".DB_PREFIX."shoutbox");
   $numrows = dbresult($result, 0);
   $result = dbquery("SELECT * FROM ".DB_PREFIX."shoutbox LEFT JOIN ".DB_PREFIX."users ON ".DB_PREFIX."shoutbox.shout_name=".DB_PREFIX."users.user_id ORDER BY shout_datestamp DESC LIMIT 0,".$settings['numofshouts']);
   echo "<script type='text/javascript' src='".INFUSIONS."shoutbox_panel/js/lighttable.js' language='Javascript'></script>";
   echo "<script type=\"text/javascript\">
   iens6=document.all||document.getElementById
   ns4=document.layers
   //specify speed of scroll (greater=faster)
   var speed=5
   if (iens6){
   document.write('<div id=\"container\" style=\"position:relative;width:140px;height:280px;border:0px solid #444444;overflow:hidden\">')
   document.write('<div id=\"content\" style=\"position:absolute;width:140px;left:0;top:0\">')
}
   </script>";

   echo "<ilayer name=\"nscontainer\" width=100% height=250 clip=\"0,0,277,400\">";
   echo "<layer name=\"nscontent\" width=100% height=250 visibility=hidden>";

   if (dbrows($result) != 0) {
   $i = 0;
   
while ($data = dbarray($result)) {
echo "<span class='shoutboxname'>";
if ($data[user_level] == "103") {
$user = "<font color='#F75013'><b>".$data[user_name]."</b></a></font>";
} else if ($data[user_level] == "102") {
$user = "<font color='#008000'><b>".$data[user_name]."</b></a></font>";
} else if ($data[user_level] == "101") {
$user = "".$data[user_name]."";
}
if ($data['user_name']) {
echo "<img src='".INFUSIONS."shoutbox_panel/images/bullet.gif'> <a href='".BASEDIR."profile.php?lookup=".$data['user_id']."' class='side'>$user</a><br>\n";
      } else {
         echo "".$data['shout_name']."\n";
      }
      echo "</span>";
      
if ($userdata['user_level'] >= 103) {
echo "[<a href='".ADMIN."shoutbox.php".$aidlink."&action=delete&shout_id=".$data['shout_id']."' class='side'>Trinti</a> - <a href='".ADMIN."shoutbox.php".$aidlink."&action=edit&amp;shout_id=".$data['shout_id']."' class='side'>Redaguoti</a>]<br>";
} else {
echo "\n";
}   
      
      echo "
<span class='shoutboxdate'><font style='font-family:Tahoma;font-size:10;color:#777777;'>Data: ".showdate("shortdate", $data['shout_datestamp'])."</font></span><br>";

if ($userdata['user_level'] >= 103) {
echo "<font style='font-style:italic;font-family:Tahoma;font-size:8;color:#777777;'>IP: ".$data['user_ip']."</font><br>";
}

echo "<span class='shoutbox'>".parsesmileys($data['shout_message'])."</span>";
echo "<br>\n";
      if ($i != $numrows) echo "<br>\n";
   }
   if ($numrows > $settings['numofshouts']) {
   }
} else {
   echo "<div align='left'>".$locale['127']."</div>\n";
}
   echo "</layer></ilayer><script language=\"JavaScript1.2\">
   if (iens6)
   document.write('</div></div>')
   </script>";

   echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\"><td><p align=\"center\">";
   echo "<a href=\"#\" onMouseover=\"moveup()\" onMouseout=\"clearTimeout(moveupvar)\"><img src=\"".INFUSIONS."shoutbox_panel/images/up.png\" border=0></a>  ";
   echo "<a href=\"#\" onMouseover=\"movedown()\" onMouseout=\"clearTimeout(movedownvar)\"><img src=\"".INFUSIONS."shoutbox_panel/images/down.png\" border=0></a>";
   echo "</td></table>";

if (iMEMBER) {

   echo "<hr><center>\n<img border='0' src='".THEME."images/bullet.gif'> ";
   echo "<a href='".INFUSIONS."shoutbox_panel/shoutbox_archive.php' class='side'>".$locale['126']."</a> ";
   echo "<img border='0' src='".THEME."images/bulletb.gif'></center>\n";
} else {
   echo "<div align='left'></div>\n";
}
   echo "<script language=\"JavaScript1.2\">
   if (iens6){
   var crossobj=document.getElementById? document.getElementById(\"content\") : document.all.content
   var contentheight=crossobj.offsetHeight
}
else if (ns4){
   var crossobj=document.nscontainer.document.nscontent
   var contentheight=crossobj.clip.height
}

function movedown(){
if (iens6&&parseInt(crossobj.style.top)>=(contentheight*(-1)+100))
crossobj.style.top=parseInt(crossobj.style.top)-speed+\"px\"
else if (ns4&&crossobj.top>=(contentheight*(-1)+100))
crossobj.top-=speed
movedownvar=setTimeout(\"movedown()\",20)
}

function moveup(){
if (iens6&&parseInt(crossobj.style.top)<=0)
crossobj.style.top=parseInt(crossobj.style.top)+speed+\"px\"
else if (ns4&&crossobj.top<=0)
crossobj.top+=speed
moveupvar=setTimeout(\"moveup()\",20)

}

function getcontent_height(){
if (iens6)
contentheight=crossobj.offsetHeight
else if (ns4)
document.nscontainer.document.nscontent.visibility=\"show\"
}
window.onload=getcontent_height
</script>";

closetable();

?>




tai man reikia rasyti sitose vietose?
echo "<form name='chatform' method='post' action='".FUSION_SELF.(FUSION_QUERY ? "?".FUSION_QUERY : "")."'>";




header("Location:".FUSION_SELF.(FUSION_QUERY ? "?".FUSION_QUERY : ""));



Redagavo Bamas· 2009 Rugs. 18 15:09:37

Parašė ex-it· 2009 Rugs. 18 15:09:35
#12

keisk kaip sakiau, ten kur randi news.php keisk i pradinis.html

Parašė Bamas· 2009 Rugs. 18 15:09:50
#13

jau sakiau kad visur pakeiciau..ar cia visuose failuose ieskoti to news.php?

Parašė ex-it· 2009 Rugs. 18 18:09:34
#14

matau is duoto kodo, kaip tu pakeitei...prie ko cia kiti failai?