query("SELECT c.title,c.chengse,c.style,c.level,c.linkurl,m.thumb as bpic,c.catid,c.thumb FROM destoon_brand_13 m,destoon_sell_5 c WHERE m.title=c.brand and c.status = 3 and c.catid <>1671 and c.chengse like '%,%,%' group by c.brand limit 0,1");
while($r = $db->fetch_array($result)) {
if($r["level"]==3){
$r["style"]='yang';
}
$infoid["chengse"]=$r["chengse"];
$info[] = $r;
}
foreach($info as $tableName=>$table){
echo "
";
}
$infoitid=$infoid["chengse"];
$hello = explode(',',$infoitid);
for($index=0;$indexquery("SELECT c.title,c.chengse,c.linkurl,c.style,c.level,m.thumb as bpic,c.thumb FROM destoon_brand_13 m,destoon_sell_5 c WHERE m.title=c.brand and c.status = 3 and length(c.chengse)>1 and c.itemid='$infoitidone' and c.catid=1671 group by c.brand limit 0,1");
while($r = $db->fetch_array($result)) {
if($r["level"]==3){
$r["style"]='yang';
}
$info[] = $r;
}
foreach($info as $tableName=>$table){
echo "
";
}
$info = array();
$result = $db->query("SELECT c.title,c.chengse,c.linkurl,c.style,c.level,m.thumb as bpic,c.thumb FROM destoon_brand_13 m,destoon_sell_5 c WHERE m.title=c.brand and c.status = 3 and length(c.chengse)>1 and c.itemid='$infoitidones' and c.catid=1671 group by c.brand limit 0,1");
while($r = $db->fetch_array($result)) {
if($r["level"]==3){
$r["style"]='yang';
}
$info[] = $r;
}
foreach($info as $tableName=>$table){
echo "
query("SELECT c.title,c.chengse,c.style,c.level,c.linkurl,m.thumb as bpic,c.catid,c.thumb FROM destoon_brand_13 m,destoon_sell_5 c WHERE m.title=c.brand and c.status = 3 and c.catid <>1671 and c.chengse like '%,%,%' group by c.brand limit 1,1");
while($r = $db->fetch_array($result)) {
if($r["level"]==3){
$r["style"]='yang';
}
$infoid["chengse"]=$r["chengse"];
$info[] = $r;
}
foreach($info as $tableName=>$table){
echo "
";
}
$infoitid=$infoid["chengse"];
$hello = explode(',',$infoitid);
for($index=0;$indexquery("SELECT c.title,c.chengse,c.linkurl,c.style,c.level,m.thumb as bpic,c.thumb FROM destoon_brand_13 m,destoon_sell_5 c WHERE m.title=c.brand and c.status = 3 and length(c.chengse)>1 and c.itemid='$infoitidone' and c.catid=1671 group by c.brand limit 0,1");
while($r = $db->fetch_array($result)) {
if($r["level"]==3){
$r["style"]='yang';
}
$info[] = $r;
}
foreach($info as $tableName=>$table){
echo "
";
}
$info = array();
$result = $db->query("SELECT c.title,c.chengse,c.linkurl,c.style,c.level,m.thumb as bpic,c.thumb FROM destoon_brand_13 m,destoon_sell_5 c WHERE m.title=c.brand and c.status = 3 and length(c.chengse)>1 and c.itemid='$infoitidones' and c.catid=1671 group by c.brand limit 0,1");
while($r = $db->fetch_array($result)) {
if($r["level"]==3){
$r["style"]='yang';
}
$info[] = $r;
}
foreach($info as $tableName=>$table){
echo "
query("SELECT c.title,c.chengse,c.style,c.level,c.linkurl,m.thumb as bpic,c.catid,c.thumb FROM destoon_brand_13 m,destoon_sell_5 c WHERE m.title=c.brand and c.status = 3 and c.catid <>1671 and c.chengse like '%,%' group by c.brand limit 1,1");
while($r = $db->fetch_array($result)) {
if($r["level"]==3){
$r["style"]='yang';
}
$infoid["chengse"]=$r["chengse"];
$info[] = $r;
}
foreach($info as $tableName=>$table){
echo "
";
}
$infoitid=$infoid["chengse"];
$hello = explode(',',$infoitid);
for($index=0;$indexquery("SELECT c.title,c.chengse,c.linkurl,c.style,c.level,m.thumb as bpic,c.thumb FROM destoon_brand_13 m,destoon_sell_5 c WHERE m.title=c.brand and c.status = 3 and length(c.chengse)>1 and c.itemid='$infoitidone' and c.catid=1671 group by c.brand limit 0,1");
while($r = $db->fetch_array($result)) {
if($r["level"]==3){
$r["style"]='yang';
}
$info[] = $r;
}
foreach($info as $tableName=>$table){
echo "
";
}
$info = array();
$result = $db->query("SELECT c.title,c.chengse,c.linkurl,c.style,c.level,m.thumb as bpic,c.thumb FROM destoon_brand_13 m,destoon_sell_5 c WHERE m.title=c.brand and c.status = 3 and length(c.chengse)>1 and c.itemid='$infoitidones' and c.catid=1671 group by c.brand limit 0,1");
while($r = $db->fetch_array($result)) {
if($r["level"]==3){
$r["style"]='yang';
}
$info[] = $r;
}
foreach($info as $tableName=>$table){
echo "
query("SELECT c.title,c.chengse,c.style,c.level,c.linkurl,m.thumb as bpic,c.catid,c.thumb FROM destoon_brand_13 m,destoon_sell_5 c WHERE m.title=c.brand and c.status = 3 and c.catid <>1671 and c.chengse like '%,%' group by c.brand limit 3,1");
while($r = $db->fetch_array($result)) {
if($r["level"]==3){
$r["style"]='yang';
}
$infoid["chengse"]=$r["chengse"];
$info[] = $r;
}
foreach($info as $tableName=>$table){
echo "
";
}
$infoitid=$infoid["chengse"];
$hello = explode(',',$infoitid);
for($index=0;$indexquery("SELECT c.title,c.chengse,c.linkurl,c.style,c.level,m.thumb as bpic,c.thumb FROM destoon_brand_13 m,destoon_sell_5 c WHERE m.title=c.brand and c.status = 3 and length(c.chengse)>1 and c.itemid='$infoitidone' and c.catid=1671 group by c.brand limit 0,1");
while($r = $db->fetch_array($result)) {
if($r["level"]==3){
$r["style"]='yang';
}
$info[] = $r;
}
foreach($info as $tableName=>$table){
echo "
";
}
$info = array();
$result = $db->query("SELECT c.title,c.chengse,c.linkurl,c.style,c.level,m.thumb as bpic,c.thumb FROM destoon_brand_13 m,destoon_sell_5 c WHERE m.title=c.brand and c.status = 3 and length(c.chengse)>1 and c.itemid='$infoitidones' and c.catid=1671 group by c.brand limit 0,1");
while($r = $db->fetch_array($result)) {
if($r["level"]==3){
$r["style"]='yang';
}
$info[] = $r;
}
foreach($info as $tableName=>$table){
echo "