<div class="col-sm-12 row padding-zero" style="height: 90px" >
    <input type="hidden" id="post_type" value="2">
    <input type="hidden" id="timeZone" value="">
    <div class="form-group input-group col-sm-12" id="textArea" style="display: block">
        <textarea oninput="getAlertUrlWithMeta(this.value)"  
                  id="alert_detail" 
                  class="form-control" 
                  style="max-width:650px;max-height: 70px "  
                  rows="2" placeholder="Type your alert here.." 
                  aria-describedby="basic-addon1" style="width:100%;float:right;"></textarea>
    </div>
    <div class="col-sm-12 text-center">
        <span id="alert_detail_error" style="color:red"></span>
    </div>
</div>
<input type="hidden" id="check_url_status" value="1">
<!--any URL view start-->
<div class="col-sm-12 row text-left text-justify" style=" display: none" id="URLview" >
    <img src="<?php echo base_url() ?>image/ajaxloader.gif" 
         height="30" width="30"
         id="loadingImage"
         style="visibility: hidden;"
         class="img-responsive">
    <div id="URLviewResponse">
        
    </div>
</div>
<!--any link view start-->

<div class="col-sm-12 row padding-zero">
    <div class="col-sm-6 text-left" style="padding-top: 10px;font-size: 15px">
        <a href="javascript:void(0)" onclick="getPublicationStatus('1')"><i class="fa  fa-globe" title="Public"></i></a>&nbsp;&nbsp;&nbsp;&nbsp;
        <a href="javascript:void(0)" onclick="getPublicationStatus('2')"><img src="<?php echo base_url()?>image/dashboard-tt-icon.png" title="TT User" alt="TT User"></a>&nbsp;&nbsp;&nbsp;&nbsp;
        <a href="javascript:void(0)" onclick="getPublicationStatus('4')"><i class="fa  fa-users" title="Group"></i></a>&nbsp;&nbsp;&nbsp;&nbsp;
        <a href="javascript:void(0)" onclick="getPublicationStatus('3')"><i class="fa  fa-link" title="Link"></i></a>&nbsp;&nbsp;&nbsp;&nbsp;
        <input type="hidden" id="publication_status" value="">
    </div>
    <div class="col-sm-6 text-left" style="padding-top: 10px;font-size: 16px;" id="View_User">
        <span id="status_green" style="color: #80c12c"></span>
        <span id="status_red" style="color: #a70b0c"></span>
    </div>
</div>

<div class="form-group col-sm-12" style="margin: 10px 0 0 38px">
    <div class="form-group col-sm-7">
        <span id="GroupForm" style="display: none">
            <input class="col-sm-12" type="hidden" name="to_address" id="to_address" value="" >
            <select name="tokenize_placeholder" style="width: 280px;padding: 8px;" id="tokenize_placeholder" 
                    data-errormessage-value-missing="Group Name is Required!"
                    class="tokenize-sample validate[]"
                    title="" 
                    multiple="multiple" style="margin: 0px; padding: 0px; border: 0px; display: none;">
                        <?php
                        foreach ($all_approved_group as $value) {
                            echo '<option value="' . $value->group_id . '">' . $value->group_name . '</option>';
                        }
                        ?>
            </select>
        </span>
        <span id="group_error" style="color:red"></span>
    </div>
    <div class="col-sm-5 form-group" style="padding-left: 2px;">
        <button type="button"
                onclick="return addAlert('<?php echo base_url() . 'post/add_alert/' . $person_id ?>')"
                class="btn btn-success  " id="btn"> Add Alert</button>
    </div>
</div>
</div>
<div class="col-sm-12"><hr><br></div>