The_Wolf

Posts: 803

Reputation:

12th Dec 03, 1:28am | Quote | Blogs | Profile | RSS Feed
Bah... so you would have more lines than you need?
:: Lets compare some code! You post first!
Now playing: Frenzal Rhomb

Russel Crowe's Band (Is A Fucking Pile Of Shit)

azz0r

Posts: 30,729

Reputation:

12th Dec 03, 1:37am | Quote | Blogs | Profile | RSS Feed
PHP tag working properly, anywho...

[php]<?
{echo '<tr><td class="cell">';

if($thread->closed == 1 || $fname->type == 'lock')
 {echo '<img src="images/default/icons/forum/locked.gif" alt="Closed" border="0"> ';}

if($last_post->time > $_COOKIE['last_visit'])
 {$b = "<b>»</b>";}else{$b = "";}
 echo ''.$b.'<a href="?section=thread&tid='.$thread->tid.'">'.$thread->title.'</a>';



//THREAD PAGING
   if($total_resultsTID > $forum_properties['thread_pp'])
  {echo '<A BR>
   <b>(Page ';paging_small($total_resultsTID, $forum_properties['thread_pp'], $thread->tid, thread);echo ')</b>';}
//END THREAD PAGING

//LAST PAGE
   $numrows = mysql_num_rows(mysql_query("SELECT tid FROM $forumzDB.forumz_posts WHERE tid = '$last_post->tid'"));
   if($numrows > $forum_properties['thread_pp'])
   {$page = $numrows / $forum_properties['thread_pp'];
   $pages = ceil($page);}
       else
   {$pages = '1';}
//LAST PAGE

echo '</td><td class="cell" align="center">';
echo user($thread->uid, 1);
echo '</td><td class="cell" align="center">';
$replies = $total_resultsTID - 1;
echo ''.$replies.'</td>
<td class="cell" align="center">'.$thread->noread.'</td>
<td  class="cell" align="left">';
echo TimeDiffo($last_post->time);
echo '<A BR>';
echo user($last_post->uid, 1);
echo ' : <a href="?section=thread&tid=';
echo "$last_post->tid&page=$pages#$last_post->pid">Read</a></td></tr>";}}} ?>[/php]

:: My tabing got removed0red
After all you put me through
You'd think I'd despise you
But in the end I wanna thank you
'Cause you made me that much stronger

The_Wolf

Posts: 803

Reputation:

12th Dec 03, 1:38am | Quote | Blogs | Profile | RSS Feed
# Location Bar:<
    if ($parent['frm_id'] != 0) {<
        $_VAR['link_title'] = $_VAR['parent_title'];<
        $_VAR['link_id'] = '';<
        <
        # Get permissions:<
        if (!$_PRM-&gt;get('forum_' . $parent['frm_id'], 'view') and !$_PRM-&gt;get('all', 'view')) { $error = true; }<
        <
        $_GBL['location'] = $_TPL-&gt;get('global', 'location_div') . $_TPL-&gt;get('global', 'location_link', $_VAR) . $_GBL['location'];<
        $res = $_SQL-&gt;run('sql', 'SELECT frm_title, frm_parent, frm_id FROM ' . $_GBL['dbpfx'] . 'forums WHERE frm_id='' . $parent['frm_parent'] . '' LIMIT 1');<
        while ($forum = $_SQL-&gt;fetch('sql', $res)) {<
            # Get permissions:<
            if (!$_PRM-&gt;get('forum_' . $parent['frm_id'], 'view') and !$_PRM-&gt;get('all', 'view')) { $error = true; }<
            <
            $_VAR['link_title'] = $_TXT-&gt;clean($forum['frm_title']);<
            $_VAR['link_id'] = '?m=forumindex&parent=' . $forum['frm_id'];<
            if ($forum['frm_id'] != 0) {<
                $_GBL['location'] = $_TPL-&gt;get('global', 'location_div') . $_TPL-&gt;get('global', 'location_link', $_VAR) . $_GBL['location'];<
                $res = $_SQL-&gt;run('sql', 'SELECT frm_title, frm_parent, frm_id FROM ' . $_GBL['dbpfx'] . 'forums WHERE frm_id='' . $forum['frm_parent'] . '' LIMIT 1');<
            } else {<
                $_GBL['location'] = $_TPL-&gt;get('global', 'location_link', $_VAR) . $_GBL['location'];<
            }<
        }<
    } else {<
        $_VAR['link_title'] = $_VAR['parent_title'];<
        $_VAR['link_id'] = '';<
        $_GBL['location'] = $_TPL-&gt;get('global', 'location_link', $_VAR);<
<
        # Get permissions:<
        if (!$_PRM-&gt;get('forum_' . $parent['frm_id'], 'view') and !$_PRM-&gt;get('all', 'view')) { $error = true; }<
    }

:: Mooo!
:: Mine is the neatest!
Now playing: Frenzal Rhomb

Russel Crowe's Band (Is A Fucking Pile Of Shit)

azz0r

Posts: 30,729

Reputation:

12th Dec 03, 1:40am | Quote | Blogs | Profile | RSS Feed
I understood that pretty much, not to bad - the use of $var['littlethang'] makes it look much more complex.
After all you put me through
You'd think I'd despise you
But in the end I wanna thank you
'Cause you made me that much stronger

The_Wolf

Posts: 803

Reputation:

12th Dec 03, 1:41am | Quote | Blogs | Profile | RSS Feed
Thats because $_VAR is the most important variable in the whole thing.

You need to str_replace tabs with four spaces.
Now playing: Frenzal Rhomb

Russel Crowe's Band (Is A Fucking Pile Of Shit)

azz0r

Posts: 30,729

Reputation:

12th Dec 03, 1:41am | Quote | Blogs | Profile | RSS Feed
Whats tabs ;brgfrg type thing? MSN it me...
:: thats better
After all you put me through
You'd think I'd despise you
But in the end I wanna thank you
'Cause you made me that much stronger

The_Wolf

Posts: 803

Reputation:

12th Dec 03, 5:06am | Quote | Blogs | Profile | RSS Feed
I don't think there is one :/
Now playing: Frenzal Rhomb

Russel Crowe's Band (Is A Fucking Pile Of Shit)

Jack

"I'm flying like a rocket-ship."

Posts: 13,258

Reputation:

12th Dec 03, 9:21am | Quote | Blogs | Profile | RSS Feed
*Jack no comprendez....

Dodgy PHP. If only I could get my brain to boot up...

The_Wolf

Posts: 803

Reputation:

12th Dec 03, 11:04am | Quote | Blogs | Profile | RSS Feed
Thats ok, azz0r is borrowing it while he gets a smarter one
Now playing: Frenzal Rhomb

Russel Crowe's Band (Is A Fucking Pile Of Shit)

ComradeBadger

"slag - keeping it
available
"

Posts: 1,082

Reputation:

12th Dec 03, 4:59pm | Quote | Blogs | Profile | RSS Feed
Heh... one day I'll understand/know PHP

And then... well... you'll be sorry

*ComradeBadger shakes fist :P

Nah, this is looking cool
+1 Postcount

The_Wolf

Posts: 803

Reputation:

13th Dec 03, 3:31am | Quote | Blogs | Profile | RSS Feed
Hah, when you know php I will be a php god...
Now playing: Frenzal Rhomb

Russel Crowe's Band (Is A Fucking Pile Of Shit)

chis

"Stix"

Posts: 2,091

Reputation:

13th Dec 03, 3:33am | Quote | Blogs | Profile | RSS Feed
If i want to learn PHP i should learn HTML first :|
caek

The_Wolf

Posts: 803

Reputation:

13th Dec 03, 4:09am | Quote | Blogs | Profile | RSS Feed
yes, yes you should. and also! PLEASE LEARN HOW TO CHOOSE COLOURS! I don't think I could stand another person who uses red text on a blue background :/
Now playing: Frenzal Rhomb

Russel Crowe's Band (Is A Fucking Pile Of Shit)

ComradeBadger

"slag - keeping it
available
"

Posts: 1,082

Reputation:

13th Dec 03, 12:17pm | Quote | Blogs | Profile | RSS Feed

The Wolf @ 12th Dec @ 11:09:03pm

yes, yes you should. and also! PLEASE LEARN HOW TO CHOOSE COLOURS! I don't think I could stand another person who uses red text on a blue background :/



Anyone who uses those two colours like that is clearly a sadist :P
+1 Postcount

azz0r

Posts: 30,729

Reputation:

13th Dec 03, 1:13pm | Quote | Blogs | Profile | RSS Feed
Chis's signature was made specifically for modDB, so he wanted it on grey *azz0r shakes head
After all you put me through
You'd think I'd despise you
But in the end I wanna thank you
'Cause you made me that much stronger

chis

"Stix"

Posts: 2,091

Reputation:

13th Dec 03, 3:36pm | Quote | Blogs | Profile | RSS Feed
yeah , i think ill change that ..


(as you see im not the master at sigs )
caek

azz0r

Posts: 30,729

Reputation:

13th Dec 03, 3:53pm | Quote | Blogs | Profile | RSS Feed
It looks cool though *azz0r likes
After all you put me through
You'd think I'd despise you
But in the end I wanna thank you
'Cause you made me that much stronger

chis

"Stix"

Posts: 2,091

Reputation:

13th Dec 03, 4:11pm | Quote | Blogs | Profile | RSS Feed
lies
caek

azz0r

Posts: 30,729

Reputation:

13th Dec 03, 4:13pm | Quote | Blogs | Profile | RSS Feed
Honestly, its wacky and suits the oranges in the wuggawoo theme

(I mean the white wuggy theme)
After all you put me through
You'd think I'd despise you
But in the end I wanna thank you
'Cause you made me that much stronger

chis

"Stix"

Posts: 2,091

Reputation:

13th Dec 03, 4:18pm | Quote | Blogs | Profile | RSS Feed
if you say so :P
caek

ComradeBadger

"slag - keeping it
available
"

Posts: 1,082

Reputation:

14th Dec 03, 8:32am | Quote | Blogs | Profile | RSS Feed
I like the new sig... cos it's got wuggawoo in it

Oh, and by the way, you must limit sigs azz0r, before someone breaks the forum :/
+1 Postcount

The_Wolf

Posts: 803

Reputation:

14th Dec 03, 8:52am | Quote | Blogs | Profile | RSS Feed
I looks ok, but its nothing compared to my loveleh! :P
Now playing: Frenzal Rhomb

Russel Crowe's Band (Is A Fucking Pile Of Shit)

ComradeBadger

"slag - keeping it
available
"

Posts: 1,082

Reputation:

14th Dec 03, 9:53am | Quote | Blogs | Profile | RSS Feed
erm it's ok :P

mine is best
+1 Postcount

The_Wolf

Posts: 803

Reputation:

14th Dec 03, 9:58am | Quote | Blogs | Profile | RSS Feed
Yes admin.. aha.. interesting, how did you craft it?
Now playing: Frenzal Rhomb

Russel Crowe's Band (Is A Fucking Pile Of Shit)

ComradeBadger

"slag - keeping it
available
"

Posts: 1,082

Reputation:

14th Dec 03, 10:20am | Quote | Blogs | Profile | RSS Feed
Well, I went into my favourite text editor, notepad, and typed out 'A d m i n .' and then selected it, and copyed it, and then pasted it

:P
+1 Postcount

The_Wolf

Posts: 803

Reputation:

14th Dec 03, 10:22am | Quote | Blogs | Profile | RSS Feed
You had to use a text editor for _that_!?
Now playing: Frenzal Rhomb

Russel Crowe's Band (Is A Fucking Pile Of Shit)

ComradeBadger

"slag - keeping it
available
"

Posts: 1,082

Reputation:

14th Dec 03, 10:26am | Quote | Blogs | Profile | RSS Feed
Yeah... :emb:
+1 Postcount

The_Wolf

Posts: 803

Reputation:

14th Dec 03, 10:29am | Quote | Blogs | Profile | RSS Feed
Lol, how lame...
Now playing: Frenzal Rhomb

Russel Crowe's Band (Is A Fucking Pile Of Shit)

ComradeBadger

"slag - keeping it
available
"

Posts: 1,082

Reputation:

14th Dec 03, 10:34am | Quote | Blogs | Profile | RSS Feed
I was joking :P
+1 Postcount

The_Wolf

Posts: 803

Reputation:

14th Dec 03, 10:40am | Quote | Blogs | Profile | RSS Feed
No shite sherlock
Now playing: Frenzal Rhomb

Russel Crowe's Band (Is A Fucking Pile Of Shit)

ComradeBadger

"slag - keeping it
available
"

Posts: 1,082

Reputation:

14th Dec 03, 10:40am | Quote | Blogs | Profile | RSS Feed
lol

Love that phrase
+1 Postcount

The_Wolf

Posts: 803

Reputation:

14th Dec 03, 10:42am | Quote | Blogs | Profile | RSS Feed
Its even the same backwards!

*The_Wolf thinks im in love! :P
Now playing: Frenzal Rhomb

Russel Crowe's Band (Is A Fucking Pile Of Shit)

ComradeBadger

"slag - keeping it
available
"

Posts: 1,082

Reputation:

14th Dec 03, 10:44am | Quote | Blogs | Profile | RSS Feed
Is it? no shit sherlock, isn't a palindrome
+1 Postcount

The_Wolf

Posts: 803

Reputation:

14th Dec 03, 10:46am | Quote | Blogs | Profile | RSS Feed
Hell, poop is poop backwards.. but im not in love with poop.. are you mrBadger?
Now playing: Frenzal Rhomb

Russel Crowe's Band (Is A Fucking Pile Of Shit)

azz0r

Posts: 30,729

Reputation:

14th Dec 03, 12:22pm | Quote | Blogs | Profile | RSS Feed
Its a mixed up world, and theres murder on the dancefloor.
After all you put me through
You'd think I'd despise you
But in the end I wanna thank you
'Cause you made me that much stronger

ComradeBadger

"slag - keeping it
available
"

Posts: 1,082

Reputation:

14th Dec 03, 1:51pm | Quote | Blogs | Profile | RSS Feed
Oh I thought you meant the phrase 'No sh!t Sherlock' was a palindrome :P
+1 Postcount

The_Wolf

Posts: 803

Reputation:

14th Dec 03, 11:53pm | Quote | Blogs | Profile | RSS Feed
I was actually talking about LOL, because thats what I thought you loved... so you loove poop then?
Now playing: Frenzal Rhomb

Russel Crowe's Band (Is A Fucking Pile Of Shit)

ComradeBadger

"slag - keeping it
available
"

Posts: 1,082

Reputation:

15th Dec 03, 10:31pm | Quote | Blogs | Profile | RSS Feed
Nah... I love ******
+1 Postcount

azz0r

Posts: 30,729

Reputation:

15th Dec 03, 10:32pm | Quote | Blogs | Profile | RSS Feed
I hate ******, god knows how anyone can stand it.
After all you put me through
You'd think I'd despise you
But in the end I wanna thank you
'Cause you made me that much stronger

ComradeBadger

"slag - keeping it
available
"

Posts: 1,082

Reputation:

15th Dec 03, 10:33pm | Quote | Blogs | Profile | RSS Feed
Are you bluffing :P?
+1 Postcount