• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 16:53
CEST 22:53
KST 05:53
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
Maestros of the Game: Week 1/Play-in Preview5[ASL20] Ro24 Preview Pt2: Take-Off7[ASL20] Ro24 Preview Pt1: Runway132v2 & SC: Evo Complete: Weekend Double Feature4Team Liquid Map Contest #21 - Presented by Monster Energy9
Community News
Weekly Cups (Aug 18-24): herO dethrones MaxPax6Maestros of The Game—$20k event w/ live finals in Paris35Weekly Cups (Aug 11-17): MaxPax triples again!13Weekly Cups (Aug 4-10): MaxPax wins a triple6SC2's Safe House 2 - October 18 & 195
StarCraft 2
General
#1: Maru - Greatest Players of All Time Maestros of the Game: Week 1/Play-in Preview Greatest Players of All Time: 2025 Update BoxeR's Wings Episode 2 - Fan Translation A Eulogy for the Six Pool
Tourneys
Maestros of The Game—$20k event w/ live finals in Paris LiuLi Cup - August 2025 Tournaments $5,000 WardiTV Summer Championship 2025 $5,100+ SEL Season 2 Championship (SC: Evo) Esports World Cup 2025
Strategy
Custom Maps
External Content
Mutation # 488 What Goes Around Mutation # 487 Think Fast Mutation # 486 Watch the Skies Mutation # 485 Death from Below
Brood War
General
Post ASL20 Ro24 discussion. BGH Auto Balance -> http://bghmmr.eu/ Easiest luckies way to get out of Asl groups BW General Discussion No Rain in ASL20?
Tourneys
Cosmonarchy Pro Showmatches [ASL20] Ro24 Group F [IPSL] CSLAN Review and CSLPRO Reimagined! [ASL20] Ro24 Group E
Strategy
Simple Questions, Simple Answers Muta micro map competition Fighting Spirit mining rates [G] Mineral Boosting
Other Games
General Games
General RTS Discussion Thread Path of Exile Mechabellum Nintendo Switch Thread Stormgate/Frost Giant Megathread
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread YouTube Thread Things Aren’t Peaceful in Palestine Canadian Politics Mega-thread
Fan Clubs
INnoVation Fan Club SKT1 Classic Fan Club!
Media & Entertainment
Anime Discussion Thread Movie Discussion! [Manga] One Piece [\m/] Heavy Metal Thread
Sports
2024 - 2026 Football Thread Formula 1 Discussion TeamLiquid Health and Fitness Initiative For 2023
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread High temperatures on bridge(s) Gtx660 graphics card replacement
TL Community
The Automated Ban List TeamLiquid Team Shirt On Sale
Blogs
Lemme tell you a thing o…
JoinTheRain
How Culture and Conflict Imp…
TrAiDoS
RTS Design in Hypercoven
a11
Evil Gacha Games and the…
ffswowsucks
INDEPENDIENTE LA CTM
XenOsky
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1081 users

Need PHP-coder help o.oa

Blogs > Rus_Brain
Post a Reply
Rus_Brain
Profile Blog Joined June 2006
Russian Federation1893 Posts
Last Edited: 2008-01-05 13:51:43
December 30 2007 09:37 GMT
#1
Thanks a lot, who tried
My friend found a solution ^^


patyrykin.net
Rus_Brain
Profile Blog Joined June 2006
Russian Federation1893 Posts
December 30 2007 09:38 GMT
#2
And, pls., don't use some special words, I'm very poor in PHP coding ^^
patyrykin.net
MaTRiX[SiN]
Profile Joined September 2003
Sweden1282 Posts
December 30 2007 10:17 GMT
#3
add this after "if (count($article) > 1) {
$rows = $pagecount;"

$asdf=$rows/20;
for(i=0;i<$asdf;i++)

and change $rows to 20 in the makePageNav function (if u want 20 links in each line)

echo "<div align='center' style='margin-top:5px;'>\n".makePageNav($rowstart,1,20,9,FUSION_SELF."?article_id=$article_id&")."\n</div>\n";

cant actually test it so I could be horribly wrong but you can try it :p
aka StormtoSS
Rus_Brain
Profile Blog Joined June 2006
Russian Federation1893 Posts
December 30 2007 10:47 GMT
#4
Parse error: parse error, unexpected '=', expecting ';' in /home/patyryk6/public_html/i-info/readarticle.php on line 35
patyrykin.net
Rus_Brain
Profile Blog Joined June 2006
Russian Federation1893 Posts
Last Edited: 2007-12-30 10:54:22
December 30 2007 10:54 GMT
#5
And changing $rows to some constant changes my pages number to this constant.

I mean I have a ~390 page article, but it displays "X page of 20"
patyrykin.net
MaTRiX[SiN]
Profile Joined September 2003
Sweden1282 Posts
Last Edited: 2007-12-30 13:20:54
December 30 2007 10:57 GMT
#6
>< never used php-fusion so dunno how the makepagenav function works :/ sorry

edit: how about changing the 9 to 20 and changing $rowstart to 20*i. that should make it print out divs with 20 links in each, but I guess it would be like having a number of different navigations all starting on different places... think you need to change the makepagenav function which is in a different file than the one you linked.
aka StormtoSS
Rus_Brain
Profile Blog Joined June 2006
Russian Federation1893 Posts
December 31 2007 01:04 GMT
#7
UPDATE!
lol, I forgot to show you the MakePagNav function in main core, it's here.
patyrykin.net
Rus_Brain
Profile Blog Joined June 2006
Russian Federation1893 Posts
December 31 2007 01:53 GMT
#8
I was offered to add this:
but it's not working:

[image loading]
patyrykin.net
Rus_Brain
Profile Blog Joined June 2006
Russian Federation1893 Posts
December 31 2007 02:04 GMT
#9
Simple text, like:
1, 2, 3, 4, 5......., 189765...

is enough for me
patyrykin.net
Rus_Brain
Profile Blog Joined June 2006
Russian Federation1893 Posts
December 31 2007 04:45 GMT
#10
Thanks a lot, who tried

My friend found a solution ^^
patyrykin.net
Please log in or register to reply.
Live Events Refresh
[BSL 2025] Weekly
18:00
#12
LiquipediaDiscussion
Maestros of the Game
16:00
Round of 24 Preliminary Stage
Rogue vs MaNaLIVE!
ComeBackTV 1128
SteadfastSC343
IndyStarCraft 332
CranKy Ducklings249
CosmosSc2 83
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
SteadfastSC 343
IndyStarCraft 320
CosmosSc2 83
Nathanias 77
Livibee 64
JuggernautJason48
StarCraft: Brood War
Shuttle 369
firebathero 146
sSak 141
Dota 2
capcasts118
League of Legends
JimRising 222
Counter-Strike
fl0m2826
Stewie2K386
flusha166
Other Games
summit1g6954
tarik_tv3817
FrodaN2614
Grubby2228
gofns1231
qojqva1024
Hui .216
KnowMe156
Trikslyr62
Organizations
Other Games
gamesdonequick1284
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 19 non-featured ]
StarCraft 2
• printf 74
• davetesta20
• Kozan
• sooper7s
• AfreecaTV YouTube
• Migwel
• intothetv
• LaughNgamezSOOP
• IndyKCrew
StarCraft: Brood War
• iopq 2
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• C_a_k_e 4876
• masondota21861
• Ler65
League of Legends
• Doublelift3344
Counter-Strike
• imaqtpie886
Other Games
• Shiphtur126
Upcoming Events
SC Evo League
15h 7m
Maestros of the Game
19h 7m
SHIN vs Creator
Astrea vs Lambo
Bunny vs SKillous
HeRoMaRinE vs TriGGeR
BSL Team Wars
22h 7m
Team Bonyth vs Team Sziky
BSL Team Wars
22h 7m
Team Dewalt vs Team Sziky
Afreeca Starleague
1d 13h
Soulkey vs BeSt
Snow vs Light
Monday Night Weeklies
1d 19h
Replay Cast
2 days
Sparkling Tuna Cup
2 days
PiGosaur Monday
3 days
LiuLi Cup
3 days
[ Show More ]
Replay Cast
4 days
The PondCast
4 days
RSL Revival
4 days
Maru vs SHIN
MaNa vs MaxPax
RSL Revival
5 days
Reynor vs Astrea
Classic vs sOs
BSL Team Wars
5 days
Team Bonyth vs Team Dewalt
CranKy Ducklings
6 days
RSL Revival
6 days
GuMiho vs Cham
ByuN vs TriGGeR
Cosmonarchy
6 days
TriGGeR vs YoungYakov
YoungYakov vs HonMonO
HonMonO vs TriGGeR
[BSL 2025] Weekly
6 days
Liquipedia Results

Completed

Acropolis #4 - TS1
WardiTV Summer 2025
HCC Europe

Ongoing

Copa Latinoamericana 4
BSL 20 Team Wars
KCM Race Survival 2025 Season 3
BSL 21 Qualifiers
ASL Season 20
CSL Season 18: Qualifier 2
Maestros of the Game
SEL Season 2 Championship
Sisters' Call Cup
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #1
BLAST.tv Austin Major 2025

Upcoming

CSL 2025 AUTUMN (S18)
LASL Season 20
2025 Chongqing Offline CUP
BSL Season 21
BSL 21 Team A
Chzzk MurlocKing SC1 vs SC2 Cup #2
EC S1
BLAST Rivals Fall 2025
Skyesports Masters 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
MESA Nomadic Masters Fall
CS Asia Championships 2025
ESL Pro League S22
FISSURE Playground #2
BLAST Open Fall 2025
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2025 TLnet. All Rights Reserved.