Username:    Password:        Click Here To Signup     Forgotten Password
Main Menu
Online
Members: 0

Guests: 18

34.203.x.x forum
40.77.x.x download
42.156.x.x forum
46.4.x.x forum
54.36.x.x forum
54.36.x.x forum
54.36.x.x dilbertplus
54.36.x.x forum
54.36.x.x lgsl
54.36.x.x forum
54.36.x.x forum
54.36.x.x forum
54.36.x.x lgsl
54.36.x.x forum
54.36.x.x forum
54.36.x.x forum
54.36.x.x dilbertplus
91.242.x.x comment

Last Seen

mrstipfan Wed 19:48
Gagi2 Mon 16:30
EFiNST0RM Sun 15:39
85filip58 Sun 12:14
brlight Tue 04:18

Newest Members

Forums
10 servers / page
AGENTUL
Sat Sep 04 2010, 01:50PM

Posts: 33
Joined: Sun Apr 11 2010, 11:50AM
Registered Member #5960
how i can make a function to show 10 servers / page

and if sameone type ?page=2 to show another 10 servers, etc.
Borg
Sat Sep 04 2010, 04:57PM
Posts: 10
Joined: Wed Sep 01 2010, 04:01PM
Registered Member #6263
I'm not sure that this sort of feature yet exists with LGSL although I would like to add that we need to have more navigational control over LGSL display and layout such as back, next or forward links to view certain things or return to the list itself.

Our organization is getting back into using LGSL for Joomla and having a little more control on the administration side of things would be kind of nice for customization of LGSL through Joomla without directly editing LGSL itself. I would recommend what to try, but honestly I don't have the PHP experience to suggest such a method. However, someone else may be able to help with this so hang around and be patient.
cs2010
Sat Sep 04 2010, 06:01PM
Posts: 4
Joined: Fri Aug 20 2010, 08:53PM
Registered Member #6231
i want to know too.
cs2010
Sun Sep 05 2010, 06:16AM
Posts: 4
Joined: Fri Aug 20 2010, 08:53PM
Registered Member #6231
nobody nobody nobody .........
AGENTUL
Tue Sep 07 2010, 12:47PM

Posts: 33
Joined: Sun Apr 11 2010, 11:50AM
Registered Member #5960
Rich u can help us?
mkden
Wed Sep 08 2010, 06:37AM

Posts: 103
Joined: Sun Feb 07 2010, 02:10AM
Registered Member #5780
I have a script price 8$

Website
AGENTUL
Wed Sep 08 2010, 06:44AM

Posts: 33
Joined: Sun Apr 11 2010, 11:50AM
Registered Member #5960
mkden wrote ...

I have a script price 8$


u have to show me a demo at this script ... and how i make pay because i'am from RO.
mkden
Wed Sep 08 2010, 10:10AM

Posts: 103
Joined: Sun Feb 07 2010, 02:10AM
Registered Member #5780
Demo http://codmk.org.ru/monitor/servers.php

Transfer money you can with webmoney!
http://www.google.com/search?ie=UTF-8&hl=ro&q=webmoney

My wallet is
Z242048462310

Once you perevedesh money I had set a script to you!


Website
»Stefan
Wed Sep 08 2010, 05:06PM
Posts: 210
Joined: Fri Feb 05 2010, 03:56PM
Registered Member #5774
You live and you copied gametracker and ask money? Go shot

We work for new version 2017

Coming SOON
https://www.youtube.com/watch?v=Mi1Po0_Rraw
csfrag
Sun Sep 12 2010, 01:36PM
Posts: 1
Joined: Sun Sep 12 2010, 01:32PM
Registered Member #6288
mkden I want to buy script. PayPal is?
Website
AGENTUL
Mon Sep 13 2010, 06:08AM

Posts: 33
Joined: Sun Apr 11 2010, 11:50AM
Registered Member #5960
open lgsl_class.php and find:

$mysql_query  = "SELECT `id` FROM `{$lgsl_config['db']['prefix']}{$lgsl_config['db']['table']}` WHERE ".implode(" AND ", $mysql_where)." ORDER BY {$mysql_order}";
    $mysql_result = mysql_query($mysql_query)  or die(mysql_error());


replace with this:

if(!isset($_GET['pg'])) { $page = 1; } else { $page = $_GET['pg']; }
    $select = (($page * 20) - 20); 
$mysql_result = mysql_query("SELECT `id` FROM `{$lgsl_config['db']['prefix']}{$lgsl_config['db']['table']}` WHERE ".implode(" AND ", $mysql_where)." ORDER BY id ASC LIMIT $select, 20") or die(mysql_error());


and if you want to change your page type index.php?pg=2 or index.php?pg=3

other question?
dillmc7743
Mon Sep 13 2010, 07:27PM
Posts: 8
Joined: Fri Jul 16 2010, 01:21PM
Registered Member #6157
Anyway to add some Next Page, Last Page link deals?
Website
AGENTUL
Tue Sep 14 2010, 08:21AM

Posts: 33
Joined: Sun Apr 11 2010, 11:50AM
Registered Member #5960

<?
$servers 
mysql_result(mysql_query("SELECT COUNT(*) as Num FROM lgsl_servers"),0); 
$pages ceil($servers 20); 

if(!isset(
$_GET['pg'])) { $page 1; } else { $page $_GET['pg']; }

if(
$page 1)
{
$prev = ($page 1);
echo 
"<a href='?pg=$prev'>[Inapoi]</a> "
}

for(
$show 1$show <= $pages$show++)
{
if((
$page) == $show)
{
echo 
$show;
}
else
{
echo 
" <a href='?pg=$show'>[$show]</a> ";
}
}

if(
$page $pages)

$next = ($page 1); 
echo 
" <a href='?pg=$next'>[Next]</a> "
}
?>
»Stefan
Tue Sep 14 2010, 08:47AM
Posts: 210
Joined: Fri Feb 05 2010, 03:56PM
Registered Member #5774
nice works!

We work for new version 2017

Coming SOON
https://www.youtube.com/watch?v=Mi1Po0_Rraw
AGENTUL
Tue Sep 14 2010, 08:54AM

Posts: 33
Joined: Sun Apr 11 2010, 11:50AM
Registered Member #5960
thanks, who donate me 5 euros for help ??? (just kidding)
Vlad
Tue Sep 14 2010, 03:59PM
Posts: 1
Joined: Sun Sep 05 2010, 12:58PM
Registered Member #6270
Where ai put this code ?
index.php or lgsl_list.php ?
Website
Flesh
Wed Sep 15 2010, 01:03AM

Posts: 63
Joined: Mon Oct 19 2009, 07:16AM
Registered Member #5495
lhsl_list.php

Website
dillmc7743
Mon Sep 27 2010, 10:01PM
Posts: 8
Joined: Fri Jul 16 2010, 01:21PM
Registered Member #6157
i keep getting this error

mysql_result(): supplied argument is not a valid MySQL

for

$servers = mysql_result(mysql_query("SELECT COUNT(*) as Num FROM lgsl_servers"),0);

do i just add this at the end of the file? How dose it exactly go into lgsl_list.php?
Website
»Stefan
Tue Sep 28 2010, 06:22AM
Posts: 210
Joined: Fri Feb 05 2010, 03:56PM
Registered Member #5774
replace lgsl_servers
to lgsl

We work for new version 2017

Coming SOON
https://www.youtube.com/watch?v=Mi1Po0_Rraw
dave19901
Fri Jun 10 2011, 12:25PM
Posts: 6
Joined: Fri Jun 10 2011, 10:53AM
Registered Member #6765
AGENTUL wrote ...

open lgsl_class.php and find:

$mysql_query  = "SELECT `id` FROM `{$lgsl_config['db']['prefix']}{$lgsl_config['db']['table']}` WHERE ".implode(" AND ", $mysql_where)." ORDER BY {$mysql_order}";
    $mysql_result = mysql_query($mysql_query)  or die(mysql_error());


replace with this:

if(!isset($_GET['pg'])) { $page = 1; } else { $page = $_GET['pg']; }
    $select = (($page * 20) - 20); 
$mysql_result = mysql_query("SELECT `id` FROM `{$lgsl_config['db']['prefix']}{$lgsl_config['db']['table']}` WHERE ".implode(" AND ", $mysql_where)." ORDER BY id ASC LIMIT $select, 20") or die(mysql_error());


and if you want to change your page type index.php?pg=2 or index.php?pg=3

other question?



I dont have this code in my lgsl_class.php, i use the version 5.7 of LGSL, please help me, i have more than 2000 Servers and loads very slowly..
Go to page       >>   

Jump:     Back to top


You are not logged in - Click Here To Signup

Username:    Password:   

Mini Buttons

.... © GreyCube.com - Richard Perry - Powered by e107.org