Пример #1
0
 /** 
  * Return image based on it name 
  * @access public 
  * @return void 
  **/
 function getimage($img)
 {
     switch ($img) {
         case "bar_b_gif":
             gonximage::bar_b_gif();
             break;
         case "bar_l_gif":
             gonximage::bar_l_gif();
             break;
         case "bar_r_gif":
             gonximage::bar_r_gif();
             break;
         case "bar_t_gif":
             gonximage::bar_t_gif();
             break;
         case "corner_bl_gif":
             gonximage::corner_bl_gif();
             break;
         case "corner_br_gif":
             gonximage::corner_br_gif();
             break;
         case "corner_tl_gif":
             gonximage::corner_tl_gif();
             break;
         case "corner_tr_gif":
             gonximage::corner_tr_gif();
             break;
         case "delete_gif":
             gonximage::delete_gif();
             break;
         case "e_blank_gif":
             gonximage::e_blank_gif();
             break;
         case "fleche_blue_gif":
             gonximage::fleche_blue_gif();
             break;
         case "fleche_red_gif":
             gonximage::fleche_red_gif();
             break;
         case "fleche_gif":
             gonximage::fleche_gif();
             break;
         case "left_gif":
             gonximage::left_gif();
             break;
         case "left_on_gif":
             gonximage::left_on_gif();
             break;
         case "logo_gif":
             gonximage::logo_gif();
             break;
         case "right_gif":
             gonximage::right_gif();
             break;
         case "right_on_gif":
             gonximage::right_on_gif();
             break;
         case "stab_bg_gif":
             gonximage::stab_bg_gif();
             break;
         case "stab_bs_gif":
             gonximage::stab_bs_gif();
             break;
         case "stab_bu_gif":
             gonximage::stab_bu_gif();
             break;
         case "stab_es_gif":
             gonximage::stab_es_gif();
             break;
         case "stab_eu_gif":
             gonximage::stab_eu_gif();
             break;
         case "stab_msu_gif":
             gonximage::stab_msu_gif();
             break;
         case "stab_mus_gif":
             gonximage::stab_mus_gif();
             break;
         case "stab_muu_gif":
             gonximage::stab_muu_gif();
             break;
         case "stab_sb_gif":
             gonximage::stab_sb_gif();
             break;
         case "stab_ub_gif":
             gonximage::stab_ub_gif();
             break;
     }
     // switch
 }