'name' => array( 'header' => array( 'value' => $txt['spider_name'], ), 'data' => array( 'db' => 'spider_name', ), 'sort' => array( 'default' => 's.spider_name', 'reverse' => 's.spider_name DESC', ), ), 'page_hits' => array( 'header' => array( 'value' => $txt['spider_stats_page_hits'], ), 'data' => array( 'db' => 'page_hits', ), 'sort' => array( 'default' => 'ss.page_hits', 'reverse' => 'ss.page_hits DESC', ), ), ), 'form' => array( 'href' => $scripturl . '?action=admin;area=sengines;sa=stats', 'name' => 'spider_stat_list', ), 'additional_rows' => empty($date_select) ? array() : array( array( 'position' => 'below_table_data', 'value' => $date_select, 'style' => 'text-align: right;', ), ), ); createToken('admin-ss'); require_once($sourcedir . '/Subs-List.php'); createList($listOptions); $context['sub_template'] = 'show_spider_stats'; $context['default_list'] = 'spider_stat_list'; } /** * Callback function for createList() * Get a list of spider stats from the log_spider table * * @param int $start The item to start with (for pagination purposes) * @param int $items_per_page The number of items to show per page * @param string $sort A string indicating how to sort the results * @return array An array of spider statistics info */ function list_getSpiderStats($start, $items_per_page, $sort) { global $smcFunc; $request = $smcFunc['db_query']('', ' SELECT ss.id_spider, ss.stat_date, ss.page_hits, s.spider_name FROM {db_prefix}log_spider_stats AS ss INNER JOIN {db_prefix}spiders AS s ON (s.id_spider = ss.id_spider) ORDER BY {raw:sort} LIMIT {int:start}, {int:items}', array( 'sort' => $sort, 'start' => $start, 'items' => $items_per_page, ) ); $spider_stats = array(); while ($row = $smcFunc['db_fetch_assoc']($request)) $spider_stats[] = $row; $smcFunc['db_free_result']($request); return $spider_stats; } /** * Callback function for createList() * Get the number of spider stat rows from the log spider stats table * * @return int The number of rows in the log_spider_stats table */ function list_getNumSpiderStats() { global $smcFunc; $request = $smcFunc['db_query']('', ' SELECT COUNT(*) AS num_stats FROM {db_prefix}log_spider_stats', array( ) ); list ($numStats) = $smcFunc['db_fetch_row']($request); $smcFunc['db_free_result']($request); return $numStats; } /** * Recache spider names? */ function recacheSpiderNames() { global $smcFunc; $request = $smcFunc['db_query']('', ' SELECT id_spider, spider_name FROM {db_prefix}spiders', array() ); $spiders = array(); while ($row = $smcFunc['db_fetch_assoc']($request)) $spiders[$row['id_spider']] = $row['spider_name']; $smcFunc['db_free_result']($request); updateSettings(array('spider_name_cache' => $smcFunc['json_encode']($spiders))); } ?> Post recenti - Page 5
  • Welcome to S.E.L.D. - Sole Elettrico Lan Division.
 

Post recenti

#41
Auguri Mac, Buon Compleanno...... ;D ;D
#42
Vendo e Compro / Re: materiale vario
Last post by ajononno - 04 Maggio 2011, 23:31:42
si potrebbe fare

EDIT 06/02/2012:

a casa ho una p? di cose da vendere tipo:
- scheda madre micro atx per pentium 3 con scheda di rete  5?
- 2 processori p3 uno da 733 e uno da 800  5?
- 2 dissipatori per p3  5?
- scheda madre mini itx via  10?
#43
Vendo e Compro / Re: materiale vario
Last post by MacGyver - 04 Aprile 2011, 15:09:18
Secondo me dovresti fare cosi:

-router alice gate 2 plus wi-fi nuovo, mai usato a 25?
-scheda madre ms-6323 versione 2 con pentium3 733mhz dissipatore e scheda di rete a 20?
-computer completo con pentium4 3,00ghz 3Gb di ram, hd sata da 160gb, licenza xp professional 100?

Ormai ? roba che non vale molto... Hai provato a mettere sul Re degli Affari? potremmo mettere insieme tutta la nostra roba e fare un'annuncio unico... cosa ne pensi? Poi ci scriviamo: "vendiamo anche separatamente"
#44
Vendo e Compro / Re: muletto - server - nas
Last post by MacGyver - 04 Aprile 2011, 15:05:03
Alla fine il mio muletto ? diventato il Netbook Acer Aspire One, consuma un p? di pi? ma ? praticissimo... mi ci guardo anche i telefilm zaccato sul letto ogni tanto... 199 euro al MW... Sono davvero soddisfatto...

Te a che punto sei col tuo muletto ajo?
#45
Vendo e Compro / materiale vario
Last post by ajononno - 01 Aprile 2011, 10:17:31
vendo:

-router alice gate 2 plus wi-fi nuovo, mai usato a 30?
-scheda madre ms-6323 versione 2 con pentium3 733mhz dissipatore e scheda di rete a 20?
-computer completo con pentium4 3,00ghz 3Gb di ram, hd sata da 160gb, licenza xp professional 150?
#46
Argomenti Vari / Re: problematica pc
Last post by MacGyver - 08 Marzo 2011, 09:30:17
Citazione da: ajononno - 06 Marzo 2011, 23:46:35
ma guarda che ho tutto...la domanda ? se ci entrava tutto

cittone se hai gi? tutto perch? fai la domanda???? Provalo! e non dire che non hai tempo...
#47
Argomenti Vari / Re: problematica pc
Last post by ajononno - 06 Marzo 2011, 23:46:35
ma guarda che ho tutto...la domanda ? se ci entrava tutto
#48
Argomenti Vari / Re: problematica pc
Last post by MacGyver - 06 Marzo 2011, 13:20:09
Citazione da: ajononno - 05 Marzo 2011, 17:30:56
mac secondo te una scheda video oppure una scheda di rete quanto ? larga?
ci star? qualcosa dentro questo case?
http://www.itek.it:81/index.php/it/producttmp.html?page=shop.product_details&flypage=ilvm_fly_admirable.tpl&product_id=37&category_id=7

una scheda di rete da darti c'? l'ho. La scheda video non credo... boh e dire che ne avevo a bizzeffe. Per? quella sul pc la posso misurare ed eventualmente per una settimana te la posso prestare...
#49
Argomenti Vari / Re: problematica pc
Last post by ajononno - 05 Marzo 2011, 17:30:56
mac secondo te una scheda video oppure una scheda di rete quanto ? larga?
ci star? qualcosa dentro questo case?
http://www.itek.it:81/index.php/it/producttmp.html?page=shop.product_details&flypage=ilvm_fly_admirable.tpl&product_id=37&category_id=7
#50
Argomenti Vari / Re: problematica pc
Last post by MacGyver - 10 Febbraio 2011, 08:55:53
Citazione da: ajononno - 09 Febbraio 2011, 21:19:49
postare qui ? come chiedere acqua nel deserto....stiamo solo io e te

si ma almeno non devo cercare nelle email...