$src = site_url('card/embed/' . id_to_guid($slide->content) . md5('idaciti')) . '/sid/' . $obj->id . '/' . $rand; $content_to_display = '<div class="card_iframe"><iframe src="' . $src . '" frameborder="0" id="cardframe_' . $count . '" ></iframe></div>'; //$content_to_display = '<input type="hidden" class="src" value="'.$src.'" />'; } else { if ($slide->type == 'indicator') { $src = ''; foreach ($indicators as $k => $ind) { if ($ind->id == $slide->content) { $src = $ind->link; } } $content_to_display = '<iframe src="' . $src . '" frameborder="0" ></iframe>'; //$content_to_display = '<input type="hidden" class="src" value="'.$src.'" />'; } else { if ($slide->type == 'media') { if (is_img($slide->content)) { $content_to_display = '<img src="' . $slide->content . '" alt="' . $slide->title . '" class="full_width" />'; } else { $vid_id = get_youtube_id_from_url($slide->content); if (!empty($vid_id)) { $content_to_display = '<iframe style="" src="//www.youtube.com/embed/' . $vid_id . '" frameborder="0"></iframe>'; //$content_to_display = '<input type="hidden" class="src" value="//www.youtube.com/embed/'.$vid_id.'" />'; } else { $vid_id = get_vimeo_id_from_url($slide->content); if (!empty($vid_id)) { $content_to_display = '<iframe style="" src="//player.vimeo.com/video/' . $vid_id . '" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>'; } } } //$all_content = '<div id="slide_preview_content_area" class="col-sm-8 col-md-9">' . $content_to_display . '</div><div id="slide_preview_desc_area" class="col-sm-4 col-md-3 ' . $obj->style . '"><h1>' . $slide->title . '</h1><p>' . remove_unicode($slide->description) . '</p></div>'; } else {
echo $list; ?> ' height=50 align=center> <td><input type=checkbox name=chk[] value='<?php echo $i; ?> '></td> <td class=f_list0><?php echo $num; ?> </td> <td><a href="../shop/goods_req_form_bulk_view.php?index_no=<?php echo $gd_table; ?> " target="_blank"><img src="<?php echo is_img($row[simg1]); ?> " width="40" height="40"></a></td> <td class=f_listb><?php echo get_text($row[goods_code]); ?> </td> <td class=f_list0><?php echo $row[user_id] == 'admin' ? "<font color='f77601'>Admin</font>" : "<font color='009999'>Supplier</font>"; ?> </td> <td class=pd5><input type=text class=frm_input name=goods_name[<?php echo $i; ?> ] value='<?php echo get_text($row[goods_name]);
function resize_chapter($manga, $chapter) { isloged(); if (isset($manga) and isset($chapter)) { $dir = "data/" . $manga; $datadir = $dir . "/data/" . $chapter; $thmbdir = "../" . $dir . "/thumb/" . $chapter; $smalldir = "../" . $dir . "/small/" . $chapter; //echo $dir1."<br>"; $contend = get_dir_content($datadir); foreach ($contend as $v1) { $dir3 = "../" . $datadir . "/" . $v1; if (is_img($dir3)) { echo $v1 . "<br>"; set_time_limit(20); thumb($dir3, 0, 150, $thmbdir, $v1); set_time_limit(20); thumb($dir3, 500, 0, $smalldir, $v1); //die; flush(); } } } }