<?php require_once '../nl-init.php'; require_once 'template/template.php'; htmlBegin("SignupController"); htmlHead("User Registration"); htmlBodyBegin(); htmlHeader(); ?> <main> <section> <div class="debate_head_main" style="margin-bottom:20px;"> <div class="debate_heading"><span class="debate_title">REGISTER</span></div> </div> </section> <section id="user_register"> <div id="signup_fb"> <button ng-click="signUpWithFacebook()" id="reg">Sign up with Facebook</button> </div> <div id="signup_fb"> <button ng-click="signUpWithGPlus()" id="reg">Sign up with G+</button> </div> <form class="form" id="signupform" name="signupform" ng-submit="signup.submitSignupForm()"> <!--div id="profile_img_section"> <div id="profile_photo"><img src="images/article4.jpg" class="profile_circular" alt="Profile Photo"></div> <div id="add_profile_photo"> <span>ADD YOUR PHOTO:<br/><br/></span> <a href="javascript:;" id="upload_link">UPLOAD YOUR FILE</a> <input class="uploadbtn" type="file" name="datafile" size="40"> </div> </div-->
<?php require_once '../nl-init.php'; require_once '../class/nl-user-class.php'; require_once '../class/nl-auth-class.php'; require_once 'template/template.php'; $auth = Auth::getInstance(); $userID = $auth->getUserID(); if ($userID <= 0) { header("location: " . CONFIG_PATH::GLOBAL_M_BASE); } htmlBegin("TrackController"); htmlHead("Debate Tracking"); htmlBodyBegin(); htmlHeader(); ?> <main> <section> <div class="debate_head_main" style="margin-bottom:20px;"> <div class="debate_heading"><span class="debate_title">DEBATE TRACKING AREA</span></div> </div> </section> <section ng-repeat="news in track.newsList" style="padding-top: 0px"> <div class="usernotify read_notify"> <div class="debate_tracking_container"> <a href="javascript:;" ng-click="news.showComment=!news.showComment"> <div class="debate_tracking_txt" ng-bind-html="news.newsTitle"></div> <div class="notificationdate" style="padding-right:0px;"> <div class="debate_tracking_replys_count"><!--30 Replys - 15 ><i class="fa fa-heart"></i--></div> <div class="debate_tracking_date">{{track.str2date(news.newsCreatedDateTime) | date:'dd-MM-yy'}}</div> </div>
<?php require_once '../nl-init.php'; require_once '../class/nl-auth-class.php'; require_once 'template/template.php'; $auth = Auth::getInstance(); $userID = $auth->getUserID(); htmlBegin("ChangepwdController"); htmlHead("Forgot password"); htmlBodyBegin(); htmlHeader(); ?> <main> <section> <div class="debate_head_main" style="margin-bottom:20px;"> <div class="debate_heading"><span class="debate_title"> Reset Password </span></div> </div> </section> <section id="user_register"> <form class="form" id="changepwdform" name="changepwdform" ng-submit="changepwd.pwdChangeForm()"> <div style="<?php echo $userID <= 0 ? "display: none;" : ""; ?> " > <span class="user_label">CURRENT PASSWORD</span> <input type="password" name="currpwd" ng-model="changepwd.currpwd" required id="currpwd" placeholder="CURRENT PASSWORD" <?php echo $userID <= 0 ? "disabled" : ""; ?>
<?php require_once "../nl-init.php"; require_once "../class/nl-auth-class.php"; require_once "template/template.php"; $categoryID = _get("categoryID", 0); $newsStatus = _get("newsStatus", ""); $onlyFollowed = _get("onlyFollowed", 0); $ngController = "IndexController"; $title = "Newslogue Home"; $auth = Auth::getInstance(); $userID = $auth->getUserID(); htmlBegin($ngController); htmlHead($title); htmlBodyBegin(); htmlHeader(); if ($newsStatus == "") { htmlNav(); } ?> <main id="index_main_section" infinite-scroll='loadmore()' infinite-scroll-disabled='!ready2scroll'> <section style="margin-top:40px;" ng-show="follows.length>0"> <button class="toggle-button-container {{onlyFollowed?'active':''}}" ng-click="toggleFollowed()" style="width:35px"> <div class="toggle-button-text left" ></div> <div class="toggle-button-nob"></div> <div class="toggle-button-text right" ></div> </button> </section> <section ng-repeat="news in newsMetaList" class="article_content"> <div class="writer_follow_unfollow"> <i class="fa fa-user"></i> <span class="writer_name">{{news.username}}</span>
<?php require_once '../nl-init.php'; require_once 'template/template.php'; htmlBegin("ForgetpwdController"); htmlHead("Forgot password"); htmlBodyBegin(); htmlHeader(); ?> <main> <section> <div class="debate_head_main" style="margin-bottom:20px;"> <div class="debate_heading"><span class="debate_title">Forgot Password</span></div> </div> </section> <section id="user_register"> <form class="form" id="forgetpwdform" name="forgetpwdform" ng-submit="forgetpwd.pwdRecovaryForm()"> <div id="email"> <span class="user_label">EMAIL ADDRESS</span> <input type="email" name="emailaddress" ng-model="forgetpwd.emailaddress" required pattern="[^@]+@[^@]+\.[a-zA-Z]{2,6}" class="feedback-input" placeholder="YOUR EMAIL ADDRESS" id="emailaddress"> </div> <div class="errTxt" ng-show="forgetpwd.errMessage!=''">{{forgetpwd.errMessage}}</div> <div class="succTxt" ng-show="forgetpwd.succMessage!=''">{{forgetpwd.succMessage}}</div> <div class="txt_submit"> <input type="submit" value="continue" id="submit_btn_blue" ng-hide="forgetpwd.succMessage!=''" {{forgetpwd.submitting?"disabled":""}}/><br/>
<?php require_once '../nl-init.php'; require_once '../class/nl-auth-class.php'; require_once 'template/template.php'; $auth = Auth::getInstance(); $userID = $auth->getUserID(); if ($userID <= 0) { header("location: " . CONFIG_PATH::GLOBAL_M_BASE); } htmlBegin("ProfileController"); htmlHead("User Profile"); htmlBodyBegin(); htmlHeader(); ?> <main> <section> <div class="debate_head_main" style="margin-bottom:20px;"> <div class="debate_heading"><span class="debate_title">PROFILE</span></div> </div> </section> <section id="user_register"> <form class="form" id="profileform" name="profileform" ng-submit="profile.submitProfileForm()"> <!--div id="profile_img_section"> <div id="profile_photo"><img src="images/article4.jpg" class="profile_circular" alt="Profile Photo"></div> <div id="add_profile_photo"> <span>ADD YOUR PHOTO:<br/><br/></span> <a href="javascript:;" id="upload_link">UPLOAD YOUR FILE</a> <input class="uploadbtn" type="file" name="datafile" size="40"> </div> </div-->
<?php require_once '../nl-init.php'; require_once '../class/nl-auth-class.php'; require_once 'template/template.php'; $auth = Auth::getInstance(); $userID = $auth->getUserID(); //if ($userID <= 0) // header("location: ".CONFIG_PATH::GLOBAL_M_BASE); htmlBegin("ContactController"); htmlHead("Contact Us"); htmlBodyBegin(); htmlHeader(); ?> <main> <section> <div class="debate_head_main" style="margin-bottom:20px;"> <div class="debate_heading"><span class="debate_title">Contact</span></div> </div> </section> <section id="user_contact"> <form class="form" id="contactForm" name="contactForm" enctype="multipart/form-data" method="post" ng-submit="contact.submitForm()"> <div><span class="fa fa-user fa-lg"></span> <input name="displayName" id="username" ng-model="contact.displayName" type="text" required class="validate[required,custom[onlyLetter],length[0,100]] feedback-input" placeholder="NAME" style="width: 210px;"> </div> <div><span><i class="fa fa-envelope fa-lg"></i></span> <input name="emailaddress" id="emailaddress" ng-model="contact.emailaddress" type="email" required pattern="[^@]+@[^@]+\.[a-zA-Z]{2,6}" class="feedback-input" placeholder="EMAIL" style="width: 210px;"> </div> <!--div><span><i class="fa fa-phone fa-lg"></i></span> <input name="phone" type="text" required pattern="[\+]\d{2}[\(]\d{2}[\]\d{4}[\-]\d{4}" class="feedback-input" placeholder="PHONE" id="phone" style="width: 210px;"> </div-->
<?php require_once '../nl-init.php'; require_once '../class/nl-auth-class.php'; require_once 'template/template.php'; $auth = Auth::getInstance(); $userID = $auth->getUserID(); //if ($userID <= 0) // header("location: ".CONFIG_PATH::GLOBAL_M_BASE); htmlBegin("AboutController"); htmlHead("About Us"); htmlBodyBegin(); htmlHeader(); ?> <div id="aboutus"> <h1>ABOUT US</h1> </div> <div style="height:75px; text-align: center";> <img src="images/Newslogue_logo.jpg" alt="Newslogue Logo" width="300";> </div> <div id="about-text"> <h1>THE NEW WAY TO DEBATE</h1> <div><p>Newslogue empowers its users to view the world from another perspective. By using social media we create mutual understanding where people share their thoughts and perspectives.</p><p>We aim to arm users with informed and educated viewpoints from diverse backgrounds, ethnicities, cultures and nationalities.</p></div> </div> <div> <img src="images/about_us2.jpg" class="about_us_img"> </div>