![]() |
|
|
|
#1
|
||||
|
||||
|
Is this Prefix_links in the database?
I don't think I can get into the database information. There wouldn't be like a Modification I can do that just links to these pages or something then editing them in the database? Or even a way to make that table in Admin allow me to delete? Edit: I guess I'll just have to be adventurous and try some risky stuffs to see if I can get a list like the admin links and sidebar links lists. Thats all I really want it to be like. Edit: How about this, Is it posible to get "function getlinks" to work like "function getsidebar" Make this: Code:
function getlinks() {
$links = "";
$query = "SELECT * FROM ".$GLOBALS['prefix']."links ORDER BY id ASC";
$result = runquery($query);
$num = mysql_numrows($result);
//Loop out code
$i=0;
while ($i < $num) {
$linktext=@mysql_result($result, $i,"linktext");
$linkurl=@mysql_result($result, $i,"linkurl");
$linktext = stripslashes($linktext);
$links .= "<li><a href='".$linkurl."'>".$linktext."</a><br /></li>";
$i++;
}
return $links;
}
Code:
<a href='donate.php'>Donate money to friends</a><br /> <br /><strong>Your links:</strong><br /> <ul><li><a href='adopt.php'>Adopt New Pets</a><br /></li> <li><a href='pound.php'>Acquire Pounded Pets</a><br /></li> <li><a href='myadopts.php'>Manage Adoptables</a><br /></li> <li><a href='account.php'>Go to My Account</a><br /></li> <li>".$msgctr." <br /> <li><a href='changestyle.php'>Change Theme</a><br /></li> <li><a href='logout.php'>Log Out</a></li><br />"; Last edited by AlkseeyaKC; 06-23-2011 at 10:07 AM. |
|
#2
|
||||
|
||||
|
Just put this link in: yoursite.com/admin.php?set=settings&do=links&more=delete&evenmo re=9
Then change the number to delete them all, and then readd them in the order you want, and with the info you want~ |
![]() |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Changing the links under Member's Links. | LucasA33 | Questions and Supports | 1 | 12-24-2013 08:04 PM |
| Links will not work | Eagle9615 | Questions and Supports | 4 | 07-03-2013 11:30 PM |
| links | zhiichiro | Questions and Supports | 10 | 06-15-2009 04:10 PM |
| Links | SJC | Questions and Supports | 2 | 04-17-2009 06:46 PM |
| Broken links | RipJawWolfFang | Questions and Supports | 2 | 04-11-2009 03:16 AM |
What's New? |
What's Hot? |
What's Popular? |