Wednesday, February 29, 2012

New Front Cover to Srudent Progressive System...

Here is the original image of the Student progressive system. By using few changes, The texture color can take into another image entirely.



The problem is that, the user can change the color of image partially. to get the whole effects to the image, the gradient tool or require to apply any other filter to selected area of image.

But Here we used the texture graphics using blending option, the designer can mix the color deeply into image  or using brush mode, the designer can show the color effects inside the image with magic.

The front banner of the Students progressive system will display the following images. the images would be integrated like looking over broken window or glass in appearance. But simply I have used the blending option of the first image, so we can highlight the background image as screen shadow.

Sunday, February 26, 2012

Ideal Event for Private Forum

Here is a great idea to accomplish with other peoples in outside of the world. It is club. The club may begin with different kind of ideas and needs of them. But we can make sure that the students of the any institute can implement the various of the activities.

The logo of the any club is the main symbol of their identification by the other people who are observing you from anywhere. So I have simple effects to develop the logo for the IT club in my side to keep their identification from others.

I have used few photoshop tools for creating this logo and can be used according to company color to group with them. The version of the Photoshop is CS3 and used some gradient, selection, text and brush tools with blending options for the text.

Tuesday, February 7, 2012

Database class has been Modified in PHP

class Database
{
public $con;
//by default the system will identify them with var keyword.
var $db;
//these variables you can call any number of times with class objects.
var $die;

function set_db()
//the function will be started here.
{
//make connection to be available for script.
$this->con = mysql_connect("localhost","root","");
if (!$this->con)
  {
  die('Could not connect: ' . mysql_error());
  }
//introduce the db to script.
$this->db = mysql_select_db("idm1", $this->con);

}

function get_db()
//start function to pass results to script.
{
return $this->con;
return $this->db;
}

function close_con()
//provide the close feature to be used by script.
{
$this->die = mysql_close($this->con);
return $this->die();
}
//end of class.
}

Without no argument, The database class will be implemented here to provide the infrastructure for any no of php script.


Saturday, December 24, 2011

Realistic Water Reflection Effect

effect to create and you can add it to any photo you like, although it has to work best with images that don't already contain water in them. Here is the original image.


After making the filter effects, The below image seems like being closer to water source.


Tuesday, December 13, 2011

Students accounts with thier own folder

I have created this script for creating folder to upload their works during practical time. So when a student logged in to the system via network they have their own location to transfer the work files.

if (!file_exists($_SESSION['Folder']))
   {
   $thisdir = "E:\Sumith Bandara";
   mkdir($thisdir ."/".$_SESSION['Folder'] , 0777);
   
   header("location:control_panel.php");
   }//end file exists
   
For the val;idating the folder and get their names, The session variables are useful top perform the tasks. Here are the sample code for storing the value.

$sql_stu = "Select * from students where ID = '$row[id]'";
    $result_stu = mysql_query($sql_stu);
    $row_stu = mysql_fetch_array($result_stu);
    $folder_name = $row_stu['FirstName']." ".$row_stu['LastName']. " ".$row_stu['RegNo'];
    $_SESSION['Folder'] = $folder_name;

According to above code, the folder name will be created with row element which is retrived by the fetch array query.The site appearance will look like below.


Wednesday, November 30, 2011

Proposed DBMS diagram for Student Progressive System

Here I have written this php script to update their remote exercise folder with their own assessments. So students can upload them all into one directory with named by students. 

The log in section and new user registration section had managed totally by MySQL statements. For the administering section, I have allocated another script class which are related with sessions.

Every coding of the system has used OOP concepts in PHP. So It is more better and reliable than others.

My Pr-designed DBMS structured diagram is as follows.

Friday, November 18, 2011

Students Progressive System.

Here we can analyze the students status with their individual assessments score and how they make the score higher with chart.

Here is the code for uploading assessments to the server.
 HTML Script:

<form enctype="multipart/form-data" action="upload.php" method="POST">
      <input type="file" name="fileUpload" />
   
      <input type="submit" value="Upload" />
</form>
PHP Script "upload.php":

//if you have selected, the shift from temporary memory to the destination folder
//with the integrated PHP function move_uploaded_file()
if (move_uploaded_file(
$_FILES['fileUpload']['tmp_name'],"./Students Files/".$_FILES['fileUpload']['name']))
{
echo '<p>File sent successfully</p>';
}
else{
//if the file is not uploaded, inform it with a message
echo '<p>We could not upload the file</p>';
}

banner design for the page: