<div class="container">
<?php echo $GLOBALS['alert_info'] ?>
</div>
<div class="container">
<form  method="post" enctype="multipart/form-data">
 <input type="hidden" name="FORM_NAME" value="new_news_entry">
 <input type="hidden" name="lang" value="BN">
  <div ng-app="myApp" ng-controller="myCtrl" class="form-group">
    <select class="form-control" name="news_category"><option ng-repeat="x in names">{{x}}</option></select>
    </select>
  </div>
    <script>
    var app = angular.module('myApp', []);
    app.controller('myCtrl', function($scope) {
        $scope.names = [<?php include APP_DIR."/CONTENT/VARIABLES/news_type_list_en.php";?>];
    });
    </script>

  <div class="form-group">
    <input type="text" class="form-control" name="news_link" placeholder="Meta/Link for this news entry">
    <small id="emailHelp" class="form-text text-muted">Alphanumeric(A-Z,a-z,0-9).</small>
  </div>

  <div class="form-group">
    <input type="text" class="form-control" name="news_title" placeholder="Title for this new">
  </div>


  <div class="form-group">
    <textarea class="form-control" rows="5" name="news_content" placeholder="News content text"></textarea>
  </div>
  <div class="row">
      <div class="col-lg-4 col-md-4 col-sm-12 col-xs-12">
        <label class="btn btn-default btn-file">
            <input name="photo_news" type="file" >
        </label>
        <!-- Multiple upload not needed for now! <div class="fileinput fileinput-new" data-provides="fileinput">
            <span class="btn btn-default btn-file"><span></span><input type="file" multiple /></span>
            <span class="fileinput-filename"></span><span class="fileinput-new"></span>
        </div>-->
     </div>
    <div class="col-lg-4 col-md-4 col-sm-12 col-xs-12">
      <div class="form-check">
        <label class="form-check-label">
          <input type="checkbox" class="form-check-input">
          Check me out
        </label>
      </div>
    </div>
    <div class="col-lg-4 col-md-4 col-sm-12 col-xs-12">
      <button type="submit" class="btn btn-primary">Submit</button>
    </div>
  </div>
  <!--<div class="row">
    <iframe width="100%" height="350" src="https://www.youtube.com/embed/UXJTvnf-meU" frameborder="0" allowfullscreen></iframe>
  </div>-->
</form>
</div>
