about summary refs log tree commit diff
path: root/sourcecodes/layout.php~
diff options
context:
space:
mode:
authorziejd22019-01-28 16:37:57 -0600
committerziejd22019-01-28 16:37:57 -0600
commit995f6673b5e725d6907ccd4f8e25033e8524f116 (patch)
tree5df08d9503394eab1190a01a640f3c338e8c74d6 /sourcecodes/layout.php~
parentbb9d93322abf825368dedaafc2376ef8fdfc1e2f (diff)
downloadBNW-995f6673b5e725d6907ccd4f8e25033e8524f116.tar.gz
Deleting old versions of files
Diffstat (limited to 'sourcecodes/layout.php~')
-rw-r--r--sourcecodes/layout.php~123
1 files changed, 0 insertions, 123 deletions
diff --git a/sourcecodes/layout.php~ b/sourcecodes/layout.php~
deleted file mode 100644
index c9b86997..00000000
--- a/sourcecodes/layout.php~
+++ /dev/null
@@ -1,123 +0,0 @@
-<?php
-
-include("header_new.inc");
-include("input_validate.php");
-$keyval=valid_keyval($_GET["My_key"]);
-
-$dir="./data/";
-
-$vf1=$dir.$keyval."var.txt";
-$vf2=$dir.$keyval."varname.txt";
-$vf3=$dir.$keyval."vardata.txt";
-unlink($vf1);
-unlink($vf2);
-unlink($vf3);
-
-
-$radiovalue="Evidence";
-$valcompare="Evidence";
-
-
-  if(isset($_POST["Datatype"])) 
- {
-
- $radiovalue=$_POST["Datatype"];
- if($radiovalue=="Evidence") $S1="checked=\"checked\"";
- if($radiovalue=="Intervention") $S2="checked=\"checked\"";
- }
- else
- {
-   $radiovalue="Evidence";
-   $S1="checked=\"checked\"";
- }
-
-
-
-?>
-<script language="JavaScript">
-<!--
-function calcHeight()
-{
-  //find the height of the internal page
-  var the_height=
-    document.getElementById('the_iframe').contentWindow.
-      document.body.scrollHeight;
-
-  //change the height of the iframe
-  document.getElementById('the_iframe').height=
-      the_height;
-}
-//-->
-</script>
-<form  method="post" name="form"> 
-<table width="100%" align="center" style="background-color:" bordercolor=white border=0.5 cellspacing="0" cellpadding="0">
- <tr valign=top>
-      <td colspan=4><hr size=3></td>
-  </tr>
-<tr >
-<th align=right> <h3>Prediction Mode:&nbsp</h3></th>
-  <td align=left>
-      <input name="Datatype" type="radio" value=<?php $radioval="Evidence"; echo $radioval; ?> checked <?php echo $S1; ?>" onClick="javascript:this.form.submit();">Evidence&nbsp;&nbsp;&nbsp;
-      <input name="Datatype" type="radio" value=<?php $radioval="Intervention"; echo $radioval; ?> <?php echo $S2; ?>" onClick="javascript:this.form.submit();"> Intervention
-      
-  </td>
-</tr>
-  <tr valign=top>
-      <td colspan=4><hr size=3></td>
-  </tr>
-
-</table>
-</form>
-
-<!-- Site navigation menu -->
-<ul class="navbar2">
-   <li><p>Selected mode:<br><?php print($radiovalue);?></p></li>
-   <li><p>Network ID:<br><?php print($keyval);?></p></li>
-</ul>
-
-<ul class="navbar">
- <li><a href="clear.php?My_key=<?php print($keyval);?>" target='_blank'>Clear evidence</a>
-<li><a href="cv_predictions.php?My_key=<?php print($keyval);?>";>Cross validation and predictions</a>
-<li><a href="modify_edges.php?My_key=<?php print($keyval);?>" target='_blank'>Modify network structure</a>
-  <li><a href="javascript:void(0);"
-NAME="Model Averaging Matrix" title="Model Averaging Matrix"
-onClick=window.open("matrix.php?My_key=<?php print($keyval);?>","Ratting","width=950,height=270,0,status=0,");>Display structure matrix</a>  
-  <li><a href="javascript:void(0);"
-NAME="Parameters" title="Parameters"
-onClick=window.open("parameter_display.php?My_key=<?php print($keyval);?>","Ratting","width=950,height=270,0,status=0,");>View parameters</a>  
-<li><a href="modify_structure_learning.php?My_key=<?php print($keyval);?>";>Modify structure learning settings</a>
- <li><a href="help.php" target='_blank'>Help</a> 
- <li><a href="../home.php">Home</a>
-</ul>
-
-<?php
-    //echo "Selected mode:";
-    //echo $radiovalue;
-
-
-
-if($radiovalue==$valcompare)
-{
-?>
-<div  id="outernew">
-
-<object type="text/html" data="network_layout_evd.php?My_key=<?php print($keyval);?>" style="width:3000; height:3000">
-<p>Error: Try again</p>
-</object>
-
-</div>
-<?php
-}
-else
-{
-?>
-<div  id="outernew">
-<object type="text/html" data="network_layout_inv.php?My_key=<?php print($keyval);?>" style="width:3000; height:3000">
-<p>Error: Try again</p>
-</object>
-
-</div>
-<?php
-}
-?>
-