Welcome, Guest. Please Login or Register.
May 17, 2025, 11:37:23 AM
Home Help Search Log in Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

YaBB SE Community  |  Language Specific User Help  |  Español  |  problemas en subs.php « previous next »
Pages: [1] Reply Ignore Print
Author Topic: problemas en subs.php  (Read 356 times)
strike2death
Jr. Member
**
Posts: 70


I'm a llama!

problemas en subs.php
« on: January 25, 2003, 11:24:45 AM »
Reply with quote

hola, estaba revisando, y en esta parte de subs. php me salen varios errores

Quoteeot;
   obExit();
}

function Sticky ()
{
   global $threadid,$sticky,$moderators,$settings,$username,$txt,$cgi,$yySetLocation,$db_prefix,$doLimitOne;
   if (!in_array($username,$moderators) && $settings[7] != 'Administrator' && $settings[7] != 'Global Moderator') { fatal_error("$txt[67]"); }
   if ($threadid == '') { fatal_error("No thread specified!"); }
   $newsticky = ($sticky == '1' ) ? 0 : 1;
   $request = mysql_query("UPDATE {$db_prefix}topics SET isSticky=$newsticky WHERE ID_TOPIC=$threadid$doLimitOne");
   $yySetLocation = "$cgi;action=display;threadid=$threadid";
   redirectexit();
}

function ReportToModerator() {
   global $txt,$color,$cgi,$thread,$board,$id,$subject,$poster,$username;
   template_header();
    $rname=LoadRealName($username);
    print <<<EOT
<table border=0 width="80%" cellspacing=1 bgcolor="$color[bordercolor]" class="bordercolor" align="center" cellpadding="4">
  <tr>
    <td  class="titlebg" bgcolor="$color[titlebg]"><font size=2 class="text1" color="$color[titletext]"><b>$txt[rtm1]</b></font></td>
  </tr><tr>
    <td  class="windowbg" bgcolor="$color[windowbg]"><BR>
       <form action="$cgi;action=reporttm2" method="POST">
       <center>
       <font size=2>$txt[rtm2]

        <input type=text name="comment" value="" size="50">
        <input type="hidden" name="reporter" value="$rname ($username)">
        <input type="hidden" name="thread" value="$thread">
        <input type="hidden" name="board" value="$board">
        <input type="hidden" name="id" value="$id">
        <input type="hidden" name="subject" value="$subject">
        <input type="hidden" name="poster" value="$poster">
        <input type=submit value="$txt[rtm10]">

        </form>
        </font>
        </center>
    </td>
  </tr>
</table>
EOT;

que puede ser? los errores q me salen es en todas partes donde dice eot  ???
Logged
PeterPaul
Sr. Member
****
Posts: 262


Los buenos simpre ganan, paciencia amigos.

ICQ - 92250610peterpaulxxx@hotmail.com WWW
Re:problemas en subs.php
« Reply #1 on: January 25, 2003, 11:37:49 AM »
Reply with quote

Te falla cuando alguien resporta al moderador y cuando alguien pega un tema, por lo que creo ver...

Podias pasarnos el error que te da,,,,

Y mas aun la version del Yabb que tienes¿?
Logged

==================================
Saludos Cordiales
Fdo: PeterPaul

WEBMASTERS PETERPAULXXX.COM
http://www.peterpaulxxx.com
Relatos Eroticos
http://www.peterpaulxxx.com/relatos
Foro de Oficial de PETERPAULXXX
http://www.peterpaulxxx.com/foro
==================================
Omar Bazavilvazo
YaBB SE Developer
YaBB God
*****
Posts: 2153


I never said I would stay to the end...

WWW
Re:problemas en subs.php
« Reply #2 on: January 27, 2003, 09:35:39 AM »
Reply with quote

Seguro que subiste el nuevo subs.php??

yse 1.5.x NO debe usar EOT; en ningun lado...
Logged

Greetings from México!
http://omarbazavilvazo.com
Mi foro Español-Japonés
http://hablajapones.org
http://hablajapones.org/index.php/japones/tutoriales/b16.php

NO me manden IM para soporte o dudas
...Leo los foros como todos...
strike2death
Jr. Member
**
Posts: 70


I'm a llama!

Re:problemas en subs.php
« Reply #3 on: January 29, 2003, 08:46:31 PM »
Reply with quote

si, seguro, pero no importa, con la ultima version se me arreglo ese problema  ;)
Logged
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  Language Specific User Help  |  Español  |  problemas en subs.php « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.042 seconds with 21 queries.