Changeset 355
- Timestamp:
- Jan 18, 2012, 9:32:41 AM (13 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 deleted
- 1 edited
- 1 copied
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/NetworkShare/SharePage.php
r348 r355 1 1 <?php 2 3 include('../global.php');4 2 5 3 class SharePage extends Page … … 99 97 //if($keyword != '') $view = ''; 100 98 101 $this->Database->select_db('share');99 //$this->Database->select_db('share'); 102 100 103 101 // Log search … … 106 104 107 105 // Zobrazení formuláře 108 $Output = '<form action=" '.$this->System->Config['Web']['RootFolder'].'/share/" method="post">106 $Output = '<form action="?" method="post"> 109 107 <input type="hidden" name="view" value=""> 110 108 <input type="hidden" name="page" value="0"> … … 184 182 185 183 // Omezení na online/offline uživatele 186 $this->Database->select_db('is');184 //$this->Database->select_db('is'); 187 185 if($online == 'on') $DbResult = $this->Database->query('SELECT id FROM hosts WHERE online=1 AND user>0'); 188 186 else $DbResult = $this->Database->query('SELECT id FROM hosts'); … … 191 189 $Podminka .= ' AND (host IN ('.substr($Vyber, 0, -1).'))'; 192 190 //echo($Podminka.'<br>'); 193 $this->Database->select_db('share');191 //$this->Database->select_db('share'); 194 192 195 193 //ShowTime(); … … 321 319 } 322 320 323 $System->AddModule(new SharePage());324 $System->Modules['SharePage']->GetOutput();325 326 321 ?> -
trunk/global.php
r351 r355 204 204 $System = new System($Database); 205 205 $System->Config = &$Config; 206 //$System->ReloadList();207 //$System->Install();206 $System->ReloadList(); 207 $System->Install(); 208 208 $System->Init(); 209 209 if(isset($_SERVER['REMOTE_ADDR'])) $System->Models['User']->Check();
Note:
See TracChangeset
for help on using the changeset viewer.