summaryrefslogtreecommitdiff
blob: d3ee3b90c39ee966f0df741c381be6a1832d51ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<?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);
$next=2;
?>