View Single Post
  #18  
Old 04-24-2006, 11:35 PM
FLMom's Avatar
FLMom FLMom is offline
 
Join Date: Feb 2006
Location: Florida
Posts: 386
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I want to install this, but I can't... when I click on the xml file to install, this is what I get:

Code:
 <?xml version="1.0" encoding="ISO-8859-1" ?> 
- <product productid="7" active="1">
  <title>AdminCP Top 10 Statistic</title> 
  <description /> 
  <version>1.00</version> 
  <apm_releasedate>1143928800</apm_releasedate> 
  <apm_author>Atakan KOC</apm_author> 
  <apm_relatedurl /> 
  <apm_extrainfo /> 
  <apm_extraedit /> 
  <codes /> 
  <templates /> 
- <plugins>
- <plugin active="1">
  <title>AdminCP Top Statistic 1</title> 
  <hookname>admin_index_main1</hookname> 
- <phpcode>
- <![CDATA[ 
$kyeni = $db->query_read("select * FROM " . TABLE_PREFIX . "user order by joindate DESC LIMIT 0,10");

while ($kyeni2 = $db->fetch_array($kyeni))
{
$yeniler = $yeniler."<a href=\"user.php?do=edit&u=".$kyeni2[userid]."\">".$kyeni2[username]." </a>(".$kyeni2[posts].") <br />";
}


$kiyi = $db->query_read("SELECT userid, usergroupid, IF(displaygroupid=0, usergroupid, displaygroupid) AS displaygroupid, username, posts FROM " . TABLE_PREFIX . "user ORDER BY posts DESC LIMIT 0, 10");

while ($kiyi2 = $db->fetch_array($kiyi))
{
$eniyiler = $eniyiler."<a href=\"user.php?do=edit&u=".$kiyi2[userid]."\">".$kiyi2[username]."  </a>(".$kiyi2[posts].") <br />";
}

$kkonu = $db->query_read("select * FROM " . TABLE_PREFIX . "thread order by lastpost DESC LIMIT 0,10");

while ($kkonu2 = $db->fetch_array($kkonu))
{
$ensonkonu = $ensonkonu."[<a href=\"../showthread.php?goto=newpost&t=".$kkonu2[threadid]."\" target=\"_blank\">*</a>] ".substr($kkonu2[title], 0, strrpos(substr($kkonu2[title], 0, 50), ' ')) . '...'."<br />";
}


print_table_start();
 print_table_header("AdminCP Top Statistic",3);

echo "<tr align=\"left\" valign=\"top\"> <td class=\"thead\">Newest Members</td><td class=\"thead\">Top Members</td><td class=\"thead\">Latest Replies</td></tr>";


echo "<tr><td class=\"alt1\">$yeniler</td><td class=\"alt2\">$eniyiler</td><td class=\"alt1\">$ensonkonu</td></tr>";

 print_table_footer(2, '', '', 0);

  ]]> 
  </phpcode>
  </plugin>
  </plugins>
  <phrases /> 
  <options /> 
  </product>
How can I get this to my computer so I can upload this to my site?
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01084 seconds
  • Memory Usage 1,773KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete