blob: 2b7a9f20bf78fb29672766ead84b1d069b03ce1c (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
<?php
$title='Choose Profile';
$opts=array();
$r=$this->query('SELECT * FROM `gentoo_profiles` WHERE `flags` NOT LIKE "%d%"');
while ($profile=$r->fetch(PDO::FETCH_ASSOC)) {
$profile=new sql_gentoo_profile($profile);
$display=$profile->name?$profile->name:($profile->pkgdir?$profile->pkgdir:'/');
$opts[$profile->id]=$display;
}
$this->select('profile', 'profile', 'Profile', $opts);
?>
|