Joomla for CMS



             Unlike commercial solutions that offer different versions according to your budget, Joomla! is available in just one 'all encompassing' version - and it is cost free.
            Many commercial CMS solutions boast a vast array of modules - in some cases up to 80 of them. Joomla! offers an awesome amount of extensions that currently numbers at more than 7300. Wow!
            Joomla! has an active community of more than 200,000 (validated) friendly users and developers.

Do you like this post?


Im thinking About Joining the Army



Upon hearing someone say these words to you, an avalanche of thoughts and emotions probably all hit you at once. Imagining Army life can cause a mix of fear, confusion, joy, pride, concern and maybe even a little bit of excitement combine and form one big knot. It’s okay. You’re not the only one who’s felt this way.
  
The Army knows that the decision to join its ranks is not a solo one. It requires the support and encouragement of a soldier’s best friend, companion and most-valued advisor. In short, it requires you and the entire extended family. Everything the soldier goes through, you go through, and don’t think that’s not noticed. The strength of our soldiers comes from the strength of their families. You need to know that you’re just as valuable as the soldier. To express that, the Army makes a special effort to bring together, and make available at every Post, a large number of resources and benefits.

You’re probably wondering what exactly that means. There might even be a flurry of questions that come to mind—questions that you need answered to enable you to support this decision. That’s perfectly understandable. You want to know what will change for you and your family once you become a military family and live the Army life. Where will you eat, sleep, shop and spend quality family time? How hard will it be to make new friends? Will you be moving every six weeks?

Do you like this post?


Edited Flash Animation

            Here is my first try using adobe flash application.. It's nice to learn more  things that gives you more knowledge on the things you love to do!


Do you like this post?


Creating Table into Database

         
            Creating a table in PHPMyAdmin is simple: just type the same name, select the number of fields and click the button. Users will be then taken to a setup screen to create or define  the fields for the database. If using a PHP script to create a database, the whole process of creation and setup will be done in one command.

SYNTAX:

     CREATE TABLE tablename (fieldname1 type (length),
       fieldname 2 type NOT NULL AUTO_INCREMENT,
       PRIMARY KEY (fieldname 2), UNIQUE (fieldname2));



Do you like this post?


Log In Form Using PHP

The login form

PHP login form
Here is the HTML code for the login form.
<form id='login' action='login.php' method='post' accept-charset='UTF-8'>
<fieldset >
<legend>Login</legend>
<input type='hidden' name='submitted' id='submitted' value='1'/>
 
<label for='username' >UserName*:</label>
<input type='text' name='username' id='username'  maxlength="50" />
 
<label for='password' >Password*:</label>
<input type='password' name='password' id='password' maxlength="50" />
 
<input type='submit' name='Submit' value='Submit' />
 
</fieldset>
</form>

Logging in

We verify the username and the password we received and then look up those in the database. Here is the code:
function Login()
{
    if(empty($_POST['username']))
    {
        $this->HandleError("UserName is empty!");
        return false;
    }
 
    if(empty($_POST['password']))
    {
        $this->HandleError("Password is empty!");
        return false;
    }
 
    $username = trim($_POST['username']);
    $password = trim($_POST['password']);
 
    if(!$this->CheckLoginInDB($username,$password))
    {
        return false;
    }
 
    session_start();
 
    $_SESSION[$this->GetLoginSessionVar()] = $username;
 
    return true;
}
In order to identify a user as authorized, we are going to check the database for his combination of username/password, and if a correct combination was entered, we set a session variable.
Here is the code to look up the username and password.
function CheckLoginInDB($username,$password)
{
    if(!$this->DBLogin())
    {
        $this->HandleError("Database login failed!");
        return false;
    }
    $username = $this->SanitizeForSQL($username);
    $pwdmd5 = md5($password);
    $qry = "Select name, email from $this->tablename ".
        " where username='$username' and password='$pwdmd5' ".
        " and confirmcode='y'";
 
    $result = mysql_query($qry,$this->connection);
 
    if(!$result || mysql_num_rows($result) <= 0)
    {
        $this->HandleError("Error logging in. ".
            "The username or password does not match");
        return false;
    }
    return true;
}
Please notice that we must compare the value for the password from the database with the MD5 encrypted value of the password entered by the user. If the query returns a result, we set an "authorized" session variable, and then redirect to the protected content. If there are no rows with the entered data, we just redirect the user to the login form again.

Access controlled pages

For those pages that can only be accessed by registered members, we need to put a check on the top of the page.
Notice that we are setting an "authorized" session variable in the login code above. On top of pages we want to protect, we check for that session variable. If user is authorized, we show him the protected content, otherwise we direct him to the login form.
Include this sample piece of code on top of your protected pages:
<?PHP
require_once("./include/membersite_config.php");
 
if(!$fgmembersite->CheckLogin())
{
    $fgmembersite->RedirectToURL("login.php");
    exit;
}
?>
See the file: access-controlled.php in the downloaded code for an example.
Here is the CheckLogin() function code.
function CheckLogin()
{
     session_start();
 
     $sessionvar = $this->GetLoginSessionVar();
 
     if(empty($_SESSION[$sessionvar]))
     {
        return false;
     }
     return true;
}
These are the basics of creating a membership site. Now that you have the basic knowledge, you can experiment with it and add new features, such as a "Forgot password" page to allow the user to retrieve or change his password if he forgets it.

Do you like this post?


A man named John Calub


Motivational Speaker, Sales Guru and Certified Firewalk Instructor

Professional Experience

                  Meet the Philippines’ number one motivational speaker – John is a speaker who offers his years of street-smart experiences from starting out as an entry-level employee to CEO and President of his own training and coaching company, John Calub Training, Incorporated. He was the top salesman for six consecutive years in two corporations. As a self-made multi-millionaire, John shares his wisdom to thousands of people around the globe as to how they can their highest dreams and aspirations. (source: http://johncalubtraining.com/?page_id=9)



Training Background

                John received his professional training here and abroad from world-renowned gurus such as Tom Peters (author of the best-seller, “In Search of Excellence”), Sam Reese (CEO of Miller Heiman, the leading developer and provider of strategic sales process solutions for top corporations in the U.S.), Martha Rogers (author of the ground breaking international best-seller, “One-to-One Marketing, Building Relationships One Customer at a Time”), Neil Rackham (author of “SPIN Selling”), Tony Parinello (author of “Selling to the Very Important Top Officer”), Jack Daly (CEO of Professional Sales Coach, Incorporated), John Maxwell (Author of “Developing the Leader in You”), Jack Canfield (author of the best-selling book “Chicken Soup for the Soul” and “The Success Principles”), Tony Buzan (author of “The Mind Map Book”) and Jay Conrad Levinson (author of “Guerilla Marketing”). He is the first and only Filipino personally trained by the Father of the Global Firewalking Movement – Tolly Burkan (He is also known as The “Mega Guru” of gurus such as Anthony Robbins, T. Harv Eker, Peggy Dylan ,etc) (source: http://johncalubtraining.com/?page_id=9)


John With World's Number One Success Coach -  Jack CanfieldJohn With Father of Global Firewalking Movement - Tolly BurkanJohn Calub With World's Number One Creativity Guru - Tony Buzan
Do you like this post?
Do you like this post?


First Weekly Incentive (from Core-8)

           Guys! This is my first cheque coming from my networking company (Core-8 International Marketing Corporation). I'm very much happy to see my first cheque for my new business. I'm a freshman in this kind of business and I do this business PART TIME. I worked in the government 24/7.. After  I  was encouraged by my officer to do this business, first of all I ignore it. Until he encourage me again and again and again. until such time I decided to grab the encouragement. I'ts not a joke! It's reality.  See, I have my income coming on me.. Power talaga! In one week, "apat yong naipasok ko (power yon)". How much more sa susunod na linggo,buwan, at taon. I encourage you guys to enter networking business. "Malay mo dito matutupad yong mga pangarap mo!"
My First Virtual Cheque


Do you like this post?


3 Idiots (Must See this Movie)

Two friends embark on a quest for a lost buddy. On this journey, they encounter a long forgotten bet, a wedding they must crash, and a funeral that goes impossibly out of control. 


              Farhan Qureshi and Raju Rastogi want to re-unite with their fellow collegian, Rancho, after faking a stroke abroad an Air India plane, and excusing himself from his wife - trouser less - respectively. Enroute, they encounter another student, Chatur Ramalingam, now a successful businessman, who reminds them of a bet they had undertaken 10 years ago. The trio, while recollecting hilarious antics, including their run-ins with the Dean of Delhi's Imperial College of Engineering, Viru Sahastrabudhe, race to locate Rancho, at his last known address - little knowing the secret that was kept from them all this time. 

Basic PHP

This is a video tutorial that will teach you much on PHP language.

Hope this wiil help you to start using PHP language in web development.
Do you like this post?


How to Create Table in PHP

Example of inserting Table in PHP.
This is my php script.
        
First NameLast Name
Junjun Segura

<html>
<body>
<?php

echo"<p> This is my php script!</p>";

echo"<table border=1 align=center>
    <tr>
    <td>First Name</td>
    <td>Last Name</td>
    </tr>   

    <tr>
    <td>Junjun</td>
    <td>Segura</td>
    </tr>
        </table>";

?>
</body>
</html>

Do you like this post?


Menu(Do not Edit here)