Файл: LinkInsertUser/Insert.php
Строк: 29
<?php
if(mysql_result(mysql_query("SELECT COUNT(*) FROM `mystyle_house` WHERE `user` = '$user[id]'"),0)<12 && $user['level']>=10){
mysql_query("INSERT INTO `mystyle_house` SET `user` = '".$user['id']."', `name` = 'Душ', `faith` = '6', `ruby` = '5', `img` = 'dush1.png', `ver` = '0', `polka` = '4'");
mysql_query("INSERT INTO `mystyle_house` SET `user` = '".$user['id']."', `name` = 'Графин', `faith` = '6', `ruby` = '5', `img` = 'grafin1.png', `ver` = '0', `polka` = '8'");
mysql_query("INSERT INTO `mystyle_house` SET `user` = '".$user['id']."', `name` = 'Камин', `faith` = '6', `ruby` = '5', `img` = 'kamin1.png', `ver` = '0', `polka` = '10'");
mysql_query("INSERT INTO `mystyle_house` SET `user` = '".$user['id']."', `name` = 'Коврик', `faith` = '6', `ruby` = '5', `img` = 'kovrik1.png', `ver` = '0', `polka` = '3'");
mysql_query("INSERT INTO `mystyle_house` SET `user` = '".$user['id']."', `name` = 'Пальма', `faith` = '6', `ruby` = '5', `img` = 'palma1.png', `ver` = '0', `polka` = '5'");
mysql_query("INSERT INTO `mystyle_house` SET `user` = '".$user['id']."', `name` = 'Телефон', `faith` = '6', `ruby` = '5', `img` = 'phone1.png', `ver` = '0', `polka` = '7'");
mysql_query("INSERT INTO `mystyle_house` SET `user` = '".$user['id']."', `name` = 'Радио', `faith` = '6', `ruby` = '5', `img` = 'radio1.png', `ver` = '0', `polka` = '1'");
mysql_query("INSERT INTO `mystyle_house` SET `user` = '".$user['id']."', `name` = 'Шторки', `faith` = '6', `ruby` = '5', `img` = 'shtorki1.png', `ver` = '0', `polka` = '2'");
mysql_query("INSERT INTO `mystyle_house` SET `user` = '".$user['id']."', `name` = 'Кресло', `faith` = '6', `ruby` = '5', `img` = 'sofa1.png', `ver` = '0', `polka` = '11'");
mysql_query("INSERT INTO `mystyle_house` SET `user` = '".$user['id']."', `name` = 'Торшер', `faith` = '6', `ruby` = '5', `img` = 'torsher1.png', `ver` = '0', `polka` = '12'");
mysql_query("INSERT INTO `mystyle_house` SET `user` = '".$user['id']."', `name` = 'Тумбочка', `faith` = '6', `ruby` = '5', `img` = 'tumba1.png', `ver` = '0', `polka` = '9'");
mysql_query("INSERT INTO `mystyle_house` SET `user` = '".$user['id']."', `name` = 'Веник', `faith` = '6', `ruby` = '5', `img` = 'venik1.png', `ver` = '0', `polka` = '6'");
}
?>