Jump to content

Recommended Posts

Posted

Im recoding my control panel, in fact this cp has about a couple of years, im just making so everyonce can use it and add their own plugins. The quick post button its a plugin wich can make two things 1 you can write comments on a table custom table, or 2 wich i preffer you can use it for @mail function

The avatars have a bug wich i know, the images widths are not well formated, just lazy to adjust them on these beta but ill once i have a good revision.

Ohhh another importante things its the way you can create TOPS or Rankings.

They are on core/tops/top_TOPNAME.php

there you place any file lets call it top_10.php and this is all tops structure wich you can adjust or change:

<?php

include_once('../top.php');

$result=Array(1,2,3,4,5,6,7,8,9,10);

$rank=1;

foreach($result as $value) {

//$colums['Headtitle|WIDTH'] <--- can format the tables on the array.

$colums['Rank|5']=$rank;

You can place any columns you want.

$colums['Online|100']='another column';

//we set our array

$arr_data[]=$colums;

$rank++;

}

?>

And then magically we get our completed top. wich can be called from any javascript using top(10,'Name of top'); or a modal dialog diatop(10,'Dialog Top')

<?php echo top($arr_data);?>

  • 3 weeks later...
  • 1 month later...
  • 1 month later...
  • 2 months later...
  • 10 months later...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...