<?php

require_once "Backend/LoginHelper.php";
forceUserHasPermission("PostNews");
?>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0, user-scalable=no"/>
  <title>Alumni Portal</title>

  <!-- CSS  -->
  <link href="css/materialize.css" type="text/css" rel="stylesheet" media="screen,projection"/>
  <link href="css/style.css" type="text/css" rel="stylesheet" media="screen,projection"/>
</head>
<body>
	<?php 
include_once "Backend/header.php";
?>
  <?php 
include_once "Backend/navigation.php";
?>
	
  <h5><center>Publish News</center></h5>
  
 <div class="container white">
<div class="row">
  <form class="col s12">
    <div class="row">
      <div class="input-field col s12">
<?php

require_once "Backend/LoginHelper.php";
forceUserHasPermission("CreateUser");
?>
<!DOCTYPE html>
<html lang="en">
<?php 
require_once "Backend/CreateProfile.php";
onCreateUserPost();
?>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0, user-scalable=no"/>
  <title>Alumni Portal</title>

  <!-- CSS  -->
  <link href="css/materialize.css" type="text/css" rel="stylesheet" media="screen,projection"/>
  <link href="css/style.css" type="text/css" rel="stylesheet" media="screen,projection"/>
</head>
<body>
	<?php 
include_once "Backend/header.php";
?>
  <?php 
include_once "Backend/navigation.php";
?>
  
  <h5><center>Creating Alumni</center></h5>
  <div class="container white">
<div class="row">
<?php

require_once "Backend/LoginHelper.php";
forceUserHasPermission("PostLinks");
?>
<!DOCTYPE html>
<html lang="en">
<?php 
require_once "Backend/CreateLinksHelper.php";
onSaveLinksPosted();
?>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0, user-scalable=no"/>
  <title>Alumni Portal</title>

  <!-- CSS  -->
  <link href="css/materialize.css" type="text/css" rel="stylesheet" media="screen,projection"/>
  <link href="css/style.css" type="text/css" rel="stylesheet" media="screen,projection"/>
</head>
<body>
 	<?php 
include_once "Backend/header.php";
?>
  <?php 
include_once "Backend/navigation.php";
?>
	
  <h5><center>Managing Links</center></h5>
  <h6><center>Each line is a single link. Format: Link Displayed Text, Link URL. Example:</center></h6>
  <h6><center>Very Relevant Test Item, http://tvtropes.org/pmwiki/pmwiki.php/Main/Rickroll</center></h6>
<?php

require_once "Backend/LoginHelper.php";
forceUserHasPermission("ViewFB");
?>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0, user-scalable=no"/>
  <title>Alumni Portal</title>

  <!-- CSS  -->
  <link href="css/materialize.css" type="text/css" rel="stylesheet" media="screen,projection"/>
  <link href="css/style.css" type="text/css" rel="stylesheet" media="screen,projection"/>
</head>
<body>
  
  <?php 
include_once "Backend/header.php";
?>
  <?php 
include_once "Backend/navigation.php";
?>


  <div style="width: 60%;" class="container">
    <div class="row">
      <div class="col s12">
        <ul class="tabs z-depth-1">
          <li class="tab col s3">
<?php

require_once "Backend/LoginHelper.php";
forceUserHasPermission('ViewFB');
?>
<!DOCTYPE html>
<html lang="en">
<?php 
require_once "Backend/SubscriptionsHelper.php";
onUpdateSubscriptionsPost();
?>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0, user-scalable=no"/>
    <title>Alumni Portal</title>

    <!-- CSS  -->
    <link href="css/materialize.css" type="text/css" rel="stylesheet" media="screen,projection"/>
    <link href="css/style.css" type="text/css" rel="stylesheet" media="screen,projection"/>
  </head>
  <body>
    <?php 
include_once "Backend/header.php";
?>
    <?php 
include_once "Backend/navigation.php";
?>

<div class="container white z-depth-2">

  <div class="row">
<?php

require_once "LoginHelper.php";
forceUserHasPermission("SuperAdmin");
function onSaveEmailPosted()
{
    $emailData = $_POST["Email"];
    if (isset($emailData)) {
        file_put_contents("NewAccountEmail.txt", $emailData);
    }
}
<?php

require_once "Backend/LoginHelper.php";
forceUserHasPermission("ManageTags");
?>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0, user-scalable=no"/>
  <title>Alumni Portal</title>

  <!-- CSS  -->
  <link href="css/materialize.css" type="text/css" rel="stylesheet" media="screen,projection"/>
  <link href="css/style.css" type="text/css" rel="stylesheet" media="screen,projection"/>
</head>
<body>
	<?php 
include_once "Backend/header.php";
?>
  <?php 
include_once "Backend/navigation.php";
?>
	
  <h5><center>Manage Tags</center></h5>
	
	
 <div class="container ">
<div class="row">
  <form class="col s12">