- 1
- 2
- 3
$(".rating").each(function() {
$(this).find('input').hide();
});
Нашли или выдавили из себя код, который нельзя назвать нормальным, на который без улыбки не взглянешь? Не торопитесь его удалять или рефакторить, — запостите его на говнокод.ру, посмеёмся вместе!
+147
$(".rating").each(function() {
$(this).find('input').hide();
});
Самое интересное, что в блоке .rating никогда нет и не было input
+147
eval("document.getElementById('bmnu_rbt').onclick = function () { menu_to_left(); }");
Без комментанриев
+147
/**
* Геноцид.
*/
public function purgeProducts()
{
$command = Yii::app()->db->createCommand();
$command->truncateTable('tbl_catalogue_property_value');
$command->truncateTable('tbl_catalogue_property_value');
$command->truncateTable('tbl_catalogue_product_info');
$command->truncateTable('tbl_catalogue_product');
$command->truncateTable('tbl_products_to_features');
$command->truncateTable('tbl_catalogue_category_to_product');
$command->truncateTable('tbl_relation_material');
}
Геноцид.
+147
<?php
session_start();
unset($_SESSION['login']);
session_destroy();
echo"<script type='text/javascript'>";
echo"document.location.href='/'";
echo"</script>";
}
?>
Такой вот выход
+147
А не использовать ли нам пиписюнчик?
+147
Куда пропадают мои г-коды?
+147
Николас Вирт - Бог
+147
/* ----------------------- */
function stopLevel()
{
//clean
context2D.clearRect(...);
...
}
/* ----------------------- */
/* ----------------------- */
/* ----------------------- */
function nextStep() { ... }
В коде все комментарии написаны исключительно азбукой Морзе :|
+147
trim($_GET['password'])
nc
+147
<cbimport_import_check_checkimport>
надо вдуматся что бы понять
нода из конфигурации модуля под маженто