function srz_yt_albums_edit() { if (isset($_GET['id'])) { echo '<div id="icon-edit-pages" class="icon32 icon32-posts-page"><br></div><h2>Edit Album</h2>'; $value_arr = SrizonYTDB::GetAlbum($_GET['id']); } else { echo '<div id="icon-edit-pages" class="icon32 icon32-posts-page"><br></div><h2>Add New Album</h2>'; $value_arr = array('title' => '', 'username' => '', 'playlist' => '', 'source' => 'userupload', 'updatefeed' => '600', 'totalvid' => '20', 'liststyle' => 'fullpage', 'tpltheme' => 'white', 'paginatenum' => '18', 'largerow' => '3', 'smallrow' => '1', 'thumbpadding' => '5', 'showtitle' => 'yes', 'titleboxheight' => '30', 'conrnerrounding' => '7', 'thumbshadow' => '5l', 'iconoverlay' => 'yes', 'tdratio' => '2575', 'conrnerroundingd' => '7', 'thumbshadowd' => '5l', 'iconoverlayd' => 'yes', 'trimdesc' => '200', 'respslidespeed' => '500', 'respslidestart' => '0', 'targetheight' => '200', 'api_key' => 'AIzaSyBbRXlCqwT1TmkWZoh_OyuzgJHoTdoZffY'); } SrizonYTUI::OptionWrapperStart(); SrizonYTUI::RightColStart(); SrizonYTUI::BoxHeader('box1', "Youtube Album"); echo '<div>Fill up the video source and other parameters properly. Save to get the shortcode. Use the shortcode on your post or page</div>'; SrizonYTUI::BoxFooter(); SrizonYTUI::RightColEnd(); SrizonYTUI::LeftColStart(); include 'srizon-yt-album-option-form.php'; SrizonYTUI::LeftColEnd(); SrizonYTUI::OptionWrapperEnd(); }
} ?> /><span>Show </span> <input type="radio" name="options[iconoverlay]" id="" value="no"<?php if ($value_arr['iconoverlay'] == 'no') { echo ' checked="checked"'; } ?> /><span>Hide </span> </td> </tr> </table> <?php SrizonYTUI::BoxFooter(); SrizonYTUI::BoxHeader('box5', "'Thumb With Description' Layout Related Options", true); ?> <table style="border-collapse:separate; border-spacing: 10px;"> <tr> <td>Thumb/Description Ratio: <br/> <em>On smaller display Description will go below thumb</em></td> <td> <input type="radio" name="options[tdratio]" id="" value="2080"<?php if ($value_arr['tdratio'] == '2080') { echo ' checked="checked"'; } ?> /><span>20-80 </span> <input type="radio" name="options[tdratio]" id="" value="2575"<?php if ($value_arr['tdratio'] == '2575') { echo ' checked="checked"'; }