Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 PHP doesn't work... D:
jonathan.95. Offline
Junior Member
**
Posts: 9
Joined: Mar 2011
Post: #11
RE: PHP doesn't work... D:
it doesn't go D°;
03-06-2011 05:28 AM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #12
RE: PHP doesn't work... D:
Well, you're not giving enough information.

For example, you're not showing ALL code, and what template it's from.

My Blog
03-06-2011 08:56 AM
Find all posts by this user Quote this message in a reply
jonathan.95. Offline
Junior Member
**
Posts: 9
Joined: Mar 2011
Post: #13
RE: PHP doesn't work... D:
Sorry ç_ç

Sometime i fell so stupid °-°

The template is "profile_comments_list" *-*

And all the cose is:

PHP Code:
1
2
3
4
5
6
7
8
9
10
11
12
<table width="100%" border="0" align="center" cellspacing="0" cellpadding="2" class="opc">
<tr id="comment-{$id}" class="trow<?php echo 1+($s=($s?0:1)); ?>">

<td width="7%" valign="top"><img  src="http://www.habbo.it/habbo-imaging/avatarimage?user={$comment['username']}&action=std&direction=3000004&head_direction=3000002&gesture=sml&size=s" title="{$row['username']}"></td>        
 
<td width="90%">{$username} <font style="font-size: 10px; color: #666666;">({$date} - {$time})</font><br />
 <div style="margin-top: 4px;">{$text}</div></td>


<td width="10%">{$delete}<br /></td></tr>

</table>

03-06-2011 05:04 PM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #14
RE: PHP doesn't work... D:
That's not a stock MyBB template.
Anyway, what output does it give?

My Blog
03-06-2011 05:21 PM
Find all posts by this user Quote this message in a reply
jonathan.95. Offline
Junior Member
**
Posts: 9
Joined: Mar 2011
Post: #15
RE: PHP doesn't work... D:
Gives "trow2" to all the "tr"
03-06-2011 05:35 PM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #16
RE: PHP doesn't work... D:
Hmm, try replacing the two instances of $s with $GLOBALS['s']

My Blog
(This post was last modified: 03-06-2011 08:39 PM by ZiNgA BuRgA.)
03-06-2011 08:39 PM
Find all posts by this user Quote this message in a reply
jonathan.95. Offline
Junior Member
**
Posts: 9
Joined: Mar 2011
Post: #17
RE: PHP doesn't work... D:
I love you.
03-06-2011 09:48 PM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: