// SZ 2025-11-30 — override SMF expandPages for "..." pagination function expandPages(spanEl, base_link, first_page, last_page, per_page) { try { var per = parseInt(per_page, 10) || 1; // Try to derive the real maximum page count by inspecting the pagination links. var maxPage = 1; var container = spanEl && spanEl.closest ? spanEl.closest(".pagelinks") : null; if (container) { var links = container.querySelectorAll("a.nav_page"); var maxStart = 0; links.forEach(function (a) { var href = a.getAttribute("href") || ""; // Match the last . segment, e.g. topic=15206.7650 var m = href.match(/\.([0-9]+)(?:$|[^0-9])/); if (m) { var n = parseInt(m[1], 10); if (!isNaN(n) && n > maxStart) maxStart = n; } }); if (maxStart > 0) maxPage = Math.floor(maxStart / per) + 1; } // Fallback to SMF-provided last_page if DOM inspection failed. if (!maxPage || maxPage < 1) { var last = parseInt(last_page, 10); maxPage = Math.floor(last / per) + 1; if (!maxPage || maxPage < 1) maxPage = 1; } var input = prompt("Go to page (1-" + maxPage + "):"); if (input === null) return; var page = parseInt(input, 10); if (!page || page < 1 || page > maxPage) return; var start = (page - 1) * per; if (start < 0) start = 0; var url = base_link; // base_link may be an HTML string contain an tag; try to extract href try { var tmp = document.createElement("div"); tmp.innerHTML = base_link; var a = tmp.querySelector("a"); if (a && a.getAttribute("href")) { url = a.getAttribute("href"); } } catch (err) { url = base_link; } // Replace common SMF patterns with the computed offset if (url.indexOf("%1$d") !== -1) { url = url.replace("%1$d", start); } else if (url.indexOf(";start=") !== -1) { url = url.replace(/;start=\d+/, ";start=" + start); } else if (/\.0(?!\d)/.test(url)) { url = url.replace(/\.0(?!\d)/, "." + start); } window.location.href = url; } catch (e) { // fail silently } }

RANDOM ART CONTEST!

Started by Light the Hedgehog, Jun 29, 2009 09:05 AM

Previous topic - Next topic

1 Guest

JetTheHawk

Quote from: blazerh44 on Jul  6, 2009 04:51 AM
Or I can in like a couple of minutes
Well either way they are going to be better that micheals fake one :P
Signature
NO SIGNATURE

Princessofthechaosemerald

Quote from: ShadowsOfSilver on Jul  6, 2009 04:38 AM
MICHAEL. >-> Stop being a jerk. It's a poorly done re-color. I'll make a new Micheal for ya if you want
meh i could make one too and i do the shadeings and all that it comes out pretty nice (my first one's wernt but meh i got better), but i do agree with SoS you need to Shut-up and do some drawings or something, use Ms Paint,Paint.Net, or something like that

ShadowsOfSilver

Lol I make epic drawings WITH MY HAND fast.
Signature


The Meph's back in da hawz

blazerh44

Quote from: Elana-The-hedgehog on Jul  6, 2009 04:52 AM
meh i could make one too and i do the shadeings and all that it comes out pretty nice (my first one's wernt but meh i got better), but i do agree with SoS you need to Shut-up and do some drawings or something, use Ms Paint,Paint.Net, or something like that

Paint Shop Pro works, but it's not free. It's what I used to make my signature
Signature

Princessofthechaosemerald

Quote from: blazerh44 on Jul  6, 2009 05:14 AM
Paint Shop Pro works, but it's not free. It's what I used to make my signature
cool

blazerh44

Quote from: Elana-The-hedgehog on Jul  6, 2009 05:53 AM
cool

Ay! No one word posts while teacher is talking!

So anyone want me to draw something in specific? Elena? SoS? Michael? anyone?
Signature

Nightshade the hedgehog

#51
ME please

Post Merge: July 07, 2009, 09:40:30 AM

and i made a new thing

its a jar ...of dirt

<a href="http://tinypic.com" target="_blank"><img src="http://i28.tinypic.com/1qpil3.jpg" border="0" alt="Image and video hosting by TinyPic"></a>
Signature
once made by killer ,redone by supersonic196 ,thanx guys :)
yes i am,thanx firestar :)
thanks mikey thanks ecco
fan of ashura ,made by teh shadicz ,thanks for it :)

blazerh44

Uhh........nice jar of dirt Michael

And here is Michael the Hedgehog drawn by me

Signature

JetTheHawk

Quote from: michael the hedgehog on Jul  7, 2009 03:33 AM
ME please

Post Merge: July 07, 2009, 09:40:30 AM

and i made a new thing

its a jar ...of dirt

<a href="http://tinypic.com" target="_blank"><img src="http://i28.tinypic.com/1qpil3.jpg" border="0" alt="Image and video hosting by TinyPic"></a>
um....1/10..you didn't even work hard on it
Quote from: Phoenix on Jul  7, 2009 05:36 AM

Yay! I just downloaded the reflection plugin!
ZOMg, better give me the download :P
Signature
NO SIGNATURE

blazerh44

Quote from: JetTheHawk on Jul  7, 2009 05:42 AM
ZOMg, better give me the download :P

Me too!

And please rate my recent Michael the Hedgehog artwork
Signature

JetTheHawk

Quote from: blazerh44 on Jul  7, 2009 06:10 AM
Me too!

And please rate my recent Michael the Hedgehog artwork
I already got the plugins here http://www.brighthub.com/multimedia/photography/articles/15590.aspx
and I rate your micheal the hedgehog a  9/10
Signature
NO SIGNATURE

Nightshade the hedgehog

#56
yes a jar of dirt

ok PLAY THE SONG



me-sonic
jet-knuckles

blazerh44-other dude

Post Merge: July 07, 2009, 01:21:44 PM

and blazer for that pic

out of 10 99999999999999999999999999999999999/ 10

Post Merge: July 07, 2009, 01:22:23 PM

i will give 1+ karma and blazerh44 u are now my new friend
Signature
once made by killer ,redone by supersonic196 ,thanx guys :)
yes i am,thanx firestar :)
thanks mikey thanks ecco
fan of ashura ,made by teh shadicz ,thanks for it :)

blazerh44

Are you saying I'm the fat maid?!?

Well I'm glad you like the picture
Signature

Princessofthechaosemerald

Quote from: blazerh44 on Jul  6, 2009 07:13 AM
Ay! No one word posts while teacher is talking!

So anyone want me to draw something in specific? Elena? SoS? Michael? anyone?
me?..please? and thank you!

blazerh44

Quote from: Elana-The-hedgehog on Jul 11, 2009 08:56 AM
me?..please? and thank you!

Can you give me a picture of Elena the Hedgehog in a PM? Like a sprite or recolor or something?
Signature