<div class="box-body">
	<div class="row">
		<div class="col-sm-12">
			<div class="form-group">
				<label class="col-sm-3 control-label">Tipe</label>
				<div class="col-sm-9">
					<select class="form-control input-sm required" id="tipe" name="tipe" style="width:50%" onchange="ubah_pesan(this.value);">
						<option value="1" <?php selected($main['tipe'], 1) ?>>Personal Chat</option>
						<option value="2" <?php selected($main['tipe'], 2) ?>>Group Chat</option>
					</select>
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-3 control-label">Link Username Telegram</label>
				<div class="col-sm-9">
					<textarea id="link" name="link" class="form-control input-sm required" style="height: 200px; resize: none;"><?php $main and print($main['link']) ?></textarea>
				</div>
			</div>
			<div class="form-group">
				<label class="col-xs-12 col-sm-3 col-lg-3 control-label" for="status">Status</label>
				<div class="btn-group col-xs-12 col-sm-9" data-toggle="buttons">
					<label id="sx3" class="btn btn-info btn-flat btn-sm col-xs-6 col-sm-4 col-lg-2 form-check-label <?php ($main['enabled'] =='1') and print('active') ?>">
						<input id="g1" type="radio" name="enabled" class="form-check-input" type="radio" value="1" <?php selected($main['enabled'], '1', true) ?> autocomplete="off"> Aktif
					</label>
					<label id="sx4" class="btn btn-info btn-flat btn-sm col-xs-6 col-sm-4 col-lg-2 form-check-label <?php ($main['enabled'] =='2') and print('active') ?>">
						<input id="g2" type="radio" name="enabled" class="form-check-input" type="radio" value="2" <?php selected($main['enabled'], '2', true) ?> autocomplete="off"> Tidak Aktif
					</label>
				</div>
			</div>
		</div>
	</div>
</div>
