PHP Classes

File: index.php

Recommend this page to a friend!
  Classes of Win Aung Cho  >  PHP Frame 2D Class  >  index.php  >  Download  
File: index.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Frame 2D Class
Process structures of 2D rigid joint frames
Author: By
Last change:
Date: 1 year ago
Size: 1,079 bytes
 

Contents

Class file image Download


<html>
    <head>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Frame2D Analysis</title>
<style>
.fixedheadertable {
  width: 100%;
  max-height: 60%;
  overflow: scroll;
}

table {
  position: relative;
  border: 1px solid #ddd;
  border-collapse: collapse;
    text-decoration:none;
}

td, th {
  white-space: nowrap;
  border: 1px solid #ddd;
  padding: 5px;
 
}

th {
  background-color: #eee;
  position: -webkit-sticky;
  position: sticky;
  top: -1px;
  z-index: 2;
  text-align: center;
}
th:first-of-type {
  left: 0;
  z-index: 3;
}

tbody tr td:first-of-type {
  background-color: #eee;
  position: -webkit-sticky;
  position: sticky;
  left: -1px;
  text-align: left;
}
tr:nth-child(even) {
  background-color: #fafafa;
}
.hover {
  background: yellow;
}
</style>
    </head>
    <body>
<?php
include("frame2dclass.php");

$pframe = new Frame2D();
$pframe->Init();
//echo " init";
echo $pframe->Process();
$pframe->saveCSV("frame2d.csv");
$pframe->readGenCSV("frame2d.csv");
echo
$pframe->Process();
?>

    </body>
</html>

For more information send a message to info at phpclasses dot org.