This repository has been archived by the owner on Sep 28, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d583f1a
commit e275d31
Showing
5 changed files
with
72 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<?php | ||
|
||
/** | ||
* @Project VIDEO CLIPS AJAX 4.x | ||
* @Author PHAN TAN DUNG (phantandung92@gmail.com) | ||
* @Copyright (C) 2014 PHAN TAN DUNG. All rights reserved | ||
* @License GNU/GPL version 2 or any later version | ||
* @Createdate Dec 01, 2014, 04:33:14 AM | ||
*/ | ||
|
||
if (!defined('NV_IS_FILE_ADMIN')) { | ||
die('Stop!!!'); | ||
} | ||
|
||
$sql = 'SELECT * FROM ' . NV_PREFIXLANG . '_' . $mod_data . '_topic ORDER BY weight ASC'; | ||
$result = $db->query($sql); | ||
while ($row = $result->fetch()) { | ||
$array_item[$row['id']] = array( | ||
'parentid' => $row['parentid'], | ||
'groups_view' => '6', | ||
'key' => $row['id'], | ||
'title' => $row['title'], | ||
'alias' => $row['alias'] | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters