this->get_total_lips(); $items+=$count; $pixel_discount=0; $discount_item=round(1-$GLOBALS['get_product_with25_price']/$r[1],4); if($total_no_lip>=$GLOBALS['get_product_with25_orders_price'] && $count<=$GLOBALS['get_product_with25_limit']){//all 8 list($temp_cart,$Cart,$discount_prod1,$coupon_sale,$total,$sale_total,$coupons,$i)=$this->print_lip_sale($r[0],$r[1],$count,$r[8],$discount_item,$LotId,$img_src,$r[10],$coupons,$i,$temp_cart,$Cart,$discount_prod1,$coupon_sale,$total,$sale_total,0,$r[13]); $total_no_lip1=$total_no_lip1-$get_product_with25_original_price; } else{ if($total_no_lip>=$GLOBALS['get_product_with25_orders_price']){ $count_lip_sale=$GLOBALS['get_product_with25_limit'];$count_lip_no_sale=$count-$GLOBALS['get_product_with25_limit']; }else{ $count_lip_no_sale=ceil(($GLOBALS['get_product_with25_orders_price']-$total_no_lip)/$get_product_with25_original_price); $count_lip_no_sale=$count_lip_no_sale-$ostatok; if($count_lip_no_sale>$count){$count_lip_no_sale=$count;} $total_no_lip+=$get_product_with25_original_price*$count_lip_no_sale; $count_lip_sale=$count-$count_lip_no_sale; if($count_lip_sale>$GLOBALS['get_product_with25_limit']){$count_lip_sale=$GLOBALS['get_product_with25_limit'];$count_lip_no_sale=$count-$GLOBALS['get_product_with25_limit'];} //ount_lip_sale=$limit;$count_lip_no_sale=$count-$limit; //ho $count_lip_no_sale.'
'; } if($count_lip_no_sale>0){ list($temp_cart,$Cart,$discount_prod1,$coupon_sale,$total,$sale_total,$coupons,$i)=$this->print_lip_sale($r[0],$r[1],$count_lip_no_sale,$r[8],$r[11],$LotId,$img_src,$r[10],$coupons,$i,$temp_cart,$Cart,$discount_prod1,$coupon_sale,$total,$sale_total,1,$r[13]); $ostatok+=$count_lip_no_sale; } if($count_lip_sale>0){ list($temp_cart,$Cart,$discount_prod1,$coupon_sale,$total,$sale_total,$coupons,$i)=$this->print_lip_sale($r[0],$r[1],$count_lip_sale,$r[8],$discount_item,$LotId,$img_src,$r[10],$coupons,$i,$temp_cart,$Cart,$discount_prod1,$coupon_sale,$total,$sale_total,0,$r[13]); $total_no_lip1=$total_no_lip1-$get_product_with25_original_price; } } } elseif($r[18]){ //STEAL $LotId_color=$LotId_color1=0; if(is_array($count)){ if(isset($count[1])){ $LotId_color1=$count[0]; $LotId_color=$count[1]; } else{ $LotId_color=$count[0]; } $count=1; }else{ $count=(int)$count;if(!$count)$count=1; if($count>$r[26]){$_SESSION['urna'][$LotId]=$count=$r[26];} } if($LotId==1019){ if($count>2){$count=4;} else $count=2; } if($r[20]==1 && $r[21]>$current_time){ $show_deal=true; if($r[2]==0){$show_deal=false;} else{ if($r[22]==1 || $r[23]>0){ $res1=mysql_query('SELECT sum(sold) FROM `bh_stat_prod_hours` WHERE `ProductId`='.($r[23]>0?$r[23]:$LotId).' and Data>='.mktime(0,0,0,date('n',$r[25]),date('j',$r[25]),date('Y',$r[25]))); if($r1=mysql_fetch_row($res1)){ if($r1[0]>=$r[24]){ $show_deal=false; mysql_query('update bh_products set stock=2 where id='.$LotId); } } } } if($show_deal){ $deal_sostav=array(); $count_comp=0; $res1=mysql_query("SELECT `id`,no_shipping,composition,l,w,h,palette FROM `bh_products_steal` s,bh_products p, bh_products_add a where s.product_id=p.id and p.id=a.IdProducts and `steal_id`=".$LotId); while($r1=mysql_fetch_row($res1)){ $deal_sostav[]=$r1[0]; $volume+= $count*$r1[3]*$r1[4]*$r1[5]/1000000000; $m=array($r1[3],$r1[4],$r1[5]); sort($m); $m[3]=$count; if($r1[6])$m[4]=1; $m[5]=$r1[0]; $volume_arr[]=$m; if($r1[1]==0) $ship_count+=$count; if($r1[2]==1) $count_comp++; } if($count_comp==0 || ($count_comp==1 && $LotId_color>0) || ($count_comp==2 && $LotId_color>0 && $LotId_color1>0)){ $weight+=$r[12]*$count; $items+=$count; if($r[7]==0)$usps=0; $addr=$r[8]; if($LotId_color1){ $res_c=mysql_query('SELECT Name,parent,parent_group FROM bh_products where Id='.$LotId_color1); $res_c_row=mysql_fetch_row($res_c); //if($res_c_row[1]==0)$res_c_row[1]=903; //$r[0]=str_replace(')',': '.$res_c_row[0].')',$r[0]); //$r[0]=str_replace(')',': '.$res_c_row[0].')',$r[0]); //if(strstr($r[0],'False Eyelashes')) //$r[0]=str_replace('False Eyelashes','False Eyelashes: '.$res_c_row[0],$r[0]); $pos=strrpos($r[0],'+'); $r[0]=substr($r[0],0,$pos-1).': '.$res_c_row[0].' '.substr($r[0],$pos); $keys=array_search($res_c_row[1],$deal_sostav); if(!$keys) $keys=array_search($res_c_row[2],$deal_sostav); $deal_sostav[$keys]=$LotId_color1; } if($LotId_color){ $res_c=mysql_query('SELECT Name,parent,parent_group FROM bh_products where Id='.$LotId_color); $res_c_row=mysql_fetch_row($res_c); //if(!strstr($r[0],'False Eyelashes')){ $r[0]=str_replace(')',': '.$res_c_row[0].')',$r[0]); //} //else $r[0]=str_replace('False Eyelashes','False Eyelashes: '.$res_c_row[0],$r[0]); $keys=array_search($res_c_row[1],$deal_sostav); if(!$keys) $keys=array_search($res_c_row[2],$deal_sostav); $deal_sostav[$keys]=$LotId_color; } $deal_ext=true; $price=sprintf("%01.2f",$r[27]*$count); $this->TotalReserv+=$price; $discount_prod3+=$count*($r[1]-$r[27]); $total+=$price; $sale_total+=$price; $steal_total+=$price; $deal_price2+=$price; $no_usps=true; if($this->reciept_end){ mysql_query("insert into bh_cart (TrackId, Count,Price,Name,Name_sm,IdProduct,SalePrice) values('".$_SESSION['TrackInter']."','".$count."',{$r[1]},'".addslashes($r[0])."','".$r[10]."',$LotId,$r[27])"); $cart_last_id=mysql_insert_id(); if(!$this->TestOrder){ mysql_query('INSERT INTO bh_stat_prod(Data,ProductId,sold) VALUES('.$to_day.','.$LotId.','.$count.') ON DUPLICATE KEY UPDATE sold=sold+'.$count); mysql_query('INSERT INTO bh_stat_prod_hours(Data,ProductId,sold) VALUES('.$to_hours.','.$LotId.','.$count.') ON DUPLICATE KEY UPDATE sold=sold+'.$count); mysql_query('INSERT INTO bh_products_sale(IdProduct,IdCart,SaleDate,sold) VALUES('.$LotId.','.$cart_last_id.',\''.date("Y-m-d H:i:s").'\','.$count.')'); foreach($deal_sostav as $k) if($k){ mysql_query('INSERT INTO bh_stat_prod(Data,ProductId,sold) VALUES('.$to_day.','.$k.','.$count.') ON DUPLICATE KEY UPDATE sold=sold+'.$count); mysql_query('INSERT INTO bh_stat_prod_hours(Data,ProductId,sold) VALUES('.$to_hours.','.$k.','.$count.') ON DUPLICATE KEY UPDATE sold=sold+'.$count); mysql_query("insert into bh_cart_steal_consist(IdCart_str,IdProduct) values(".$cart_last_id.",".$k.")"); mysql_query('INSERT INTO bh_products_sale(IdProduct,IdCart,SaleDate,sold) VALUES('.$k.','.$cart_last_id.',\''.date("Y-m-d H:i:s").'\','.$count.')'); } $pixel_discount=($r[1]-$r[27])*$count; $this->pixelUniTrack[0].='|'.$r[10];//name $this->pixelUniTrack[1].='|'.$count;//count $this->pixelUniTrack[2].='|'.$r[1];//price $this->pixelUniTrack[3].='|'.sprintf("%01.2f",$pixel_discount);//discoount $this->pixelLinkShare[0].='|'.$r[10].'|Discount';//name $this->pixelLinkShare[1].='|'.$count.'|0';//count $full_price=$r[1]*100*$count; $this->pixelLinkShare[2].='|'.$full_price.'|-'.ceil($full_price-$price*100);//price $this->pixelLinkShare[3].=($this->pixelLinkShare[3]?'|':'').rawurlencode($r[0]).'|Discount'; $this->pricegrabber_CODE[]='&item'.(sizeof( Beauty News: The basics of cleaning makeup brushes
 
 
 

BEAUTY NEWS

Must-Have Makeup Brushes (20)
29
nov
The basics of cleaning makeup brushes

Using makeup brushes to apply eyeshadow, eye liner, foundation and lip color can give you more control over your look. It is important to keep the brushes clean so they last longer and work their best - it's hard to get a clean line with a dirty brush.

Cleaning brushes regularly will get rid of old makeup, skin cells, debris, oils and bacteria that can build up on the bristles over time. Ideally, the brushes should be washed after every use, but blush, foundation and bronzer brushes can be cleaned weekly. Eyeshadow and eyeliner brushes should be cleaned every few days.

Ranella Hirsch, a clinical assistant professor at the Boston University School of Medicine, told Cosmopolitan that hand soap can strip brushes, and she recommends instead using a small drop of baby shampoo. Any mild soap will likely do the trick without damaging the brushes.

When it comes time to clean the brushes, first wet the brush and then gently work the soap into the bristles from the base to the tip. Take care to avoid getting water in the ferrule - the metal part that holds the bristles in place. Rinse each brush under warm water until it runs clear. Lay the brushes flat and allow them to dry completely before use.

 
 
 
Facebook Twitter G+ Pintrest Tumblr Youtube Instagram
Internet Hot 100 for 2013 No Animal Testing
 
Accredited by the Better Business Bureau