diff options
author | 2010-02-11 20:17:46 -0700 | |
---|---|---|
committer | 2010-02-11 20:17:46 -0700 | |
commit | 32a7a5f8d8b36ae6acb6e566ff3d371b7a145c4b (patch) | |
tree | f9b8efa8def14998bc8f7a4fed123cc34c98f8db /package.php | |
parent | Zero (diff) | |
download | znurt-org-frontend-32a7a5f8d8b36ae6acb6e566ff3d371b7a145c4b.tar.gz znurt-org-frontend-32a7a5f8d8b36ae6acb6e566ff3d371b7a145c4b.tar.bz2 znurt-org-frontend-32a7a5f8d8b36ae6acb6e566ff3d371b7a145c4b.zip |
initial commit
Diffstat (limited to 'package.php')
-rw-r--r-- | package.php | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/package.php b/package.php new file mode 100644 index 0000000..171a798 --- /dev/null +++ b/package.php @@ -0,0 +1,18 @@ +<? + + if($package_id) { + + $str = gettext("PACKAGE"); + echo "<h4>$str</h4>"; + + $sql = "SELECT id FROM ebuilds WHERE package = ".$db->quote($package_id).";"; + $arr = $db->getCol($sql); + + if(count($arr)) + echo keywordsRow($arr, 'package'); + + require_once 'inc.package.php'; + + } + +?>
\ No newline at end of file |