<div id="country3" class="tabcontent">
	<p><?php esc_html_e("Enter a description and an image for social sharing of your KBucket pages. Each channel can have a unique description and image.",WPKB_TEXTDOMAIN) ?></p>
	<div style="width:700px;height:auto; margin-top:10px; font-family:Arial, Helvetica, sans-serif">
		<form method="post" id="form" enctype="multipart/form-data">
		<?php wp_nonce_field('my_form_nonce', 'my_nonce_field'); ?>	
		 <table width="700" border="0" cellspacing="0" cellpadding="0">
				<tr>
					<th width="180" class="kbucket-text-left" height="35"><?php esc_html_e("Categories",WPKB_TEXTDOMAIN) ?></th>
					<th width="250"><?php esc_html_e("Description",WPKB_TEXTDOMAIN) ?></th>
					<th width="250"><?php esc_html_e("Images",WPKB_TEXTDOMAIN) ?></th>
					<th width="250"><?php esc_html_e("Hide in menu",WPKB_TEXTDOMAIN) ?></th>
				</tr>
				<?php print_r( kb_get_categories_dropdown( 0 ) ); ?>
				<tr>
					<td colspan="3"><input type="submit" class="button button-primary" name="submit" value="<?php esc_html_e("Update",WPKB_TEXTDOMAIN) ?>"></td>
				</tr>
			</table>

			<table width="500" cellspacing="0" cellpadding="0" style="display:none;">
				<tr>
					<th colspan="3" height="40"><?php esc_html_e("Add New Categories",WPKB_TEXTDOMAIN) ?></th>
				</tr>
				<tr>
					<td class="kbucket-text-left-h40" width="45%"><?php esc_html_e("Parent Category",WPKB_TEXTDOMAIN) ?><br/>
						[<span style="color:red"><?php esc_html_e("Select Parent Category If Exists",WPKB_TEXTDOMAIN) ?></span>]
					</td>
					<td width="5%">:</td>
					<td class="kbucket-text-left" width="50%">
						<select name="parent_category">
							<option value=""><?php esc_html_e("Select Parent category",WPKB_TEXTDOMAIN) ?></option>
							<?php $categories = kb_get_categories();
							foreach ( $categories as $c ) { ?>
								<option value="<?php echo esc_attr( $c->id_cat ) . '#' . esc_attr( $c->level ); ?>">
								    <?php echo esc_html( ucfirst( $c->name ) ); ?>
								</option>

								<?php
							}
							?>
						</select>
					</td>
				</tr>
				<tr>
					<td class="kbucket-text-left-h40"><?php esc_html_e("Category Name",WPKB_TEXTDOMAIN) ?></td>
					<td>:</td>
					<td class="kbucket-text-left"><input type="text" name="category" value=""/></td>
				</tr>
				<tr>
					<td colspan="3" height="40">
						<input type="submit" name="submit" class="button button-primary" value="<?php esc_html_e("Add Category",WPKB_TEXTDOMAIN) ?>"/>
					</td>
				</tr>
			</table>
		</form>
	</div>
</div>
