May 5th, 2005, 2:48 PM
|
#20
|
|
Hobbyist Programmer
Join Date: Mar 2005
Location: Canada
Posts: 113
Rep Power: 4 
|
if (addname.equalsIgnoreCase ("Zain Qureshi") == true || addname.equalsIgnoreCase ("Zain") == true || addname.equalsIgnoreCase ("Qureshi Zain") == true || addname.equalsIgnoreCase ("Qureshi") == true || addname.equalsIgnoreCase ("Qureshi, Zain") == true)
{
c.clear ();
c.setTextColor (Color.black);
c.println ("Phantom Networks");
c.println ();
c.setTextColor (Color.orange);
c.print ("Name: ");
c.setTextColor (Color.white);
c.println (name [0]);
c.setTextColor (Color.orange);
c.print ("Phone Number: ");
c.setTextColor (Color.white);
c.println (phone [0]);
c.setTextColor (Color.orange);
c.print ("E-mail: ");
c.setTextColor (Color.white);
c.println (email [0]);
c.setTextColor (Color.orange);
c.print ("Address: ");
c.setTextColor (Color.white);
c.println (info [0]);
c.setTextColor (Color.orange);
c.print ("\t");
c.setTextColor (Color.white);
c.println (info1 [0]);
c.setTextColor (Color.orange);
c.print ("\t");
c.setTextColor (Color.white);
c.println (info2 [0]);
c.setTextColor (Color.blue);
c.print ("Go Back? ");
c.setTextColor (Color.white);
back = c.readLine ();
}
if (addname.equalsIgnoreCase ("Karan Khak") == true || addname.equalsIgnoreCase ("Karan") == true || addname.equalsIgnoreCase ("Khak Karan") == true || addname.equalsIgnoreCase ("Khak, Karan") == true)
{
c.clear ();
c.setTextColor (Color.black);
c.println ("Phantom Networks");
c.println ();
c.setTextColor (Color.orange);
c.print ("Name: ");
c.setTextColor (Color.white);
c.println (name [1]);
c.setTextColor (Color.orange);
c.print ("Phone Number: ");
c.setTextColor (Color.white);
c.println (phone [1]);
c.setTextColor (Color.orange);
c.print ("E-mail: ");
c.setTextColor (Color.white);
c.println (email [1]);
c.setTextColor (Color.orange);
c.print ("Address: ");
c.setTextColor (Color.white);
c.println (info1 [1]);
c.setTextColor (Color.orange);
c.print ("\t");
c.setTextColor (Color.white);
c.println (info2 [1]);
c.setTextColor (Color.orange);
c.print ("\t");
c.setTextColor (Color.white);
c.println (info3 [1]);
c.setTextColor (Color.blue);
c.print ("Go Back? ");
c.setTextColor (Color.white);
back = c.readLine ();
}
if (addname.equalsIgnoreCase ("Syed Raza") == true || addname.equalsIgnoreCase ("Syed") == true || addname.equalsIgnoreCase ("Raza Syed") == true || addname.equalsIgnoreCase ("Raza, Syed") == true)
{
c.clear ();
c.setTextColor (Color.black);
c.println ("Phantom Networks");
c.println ();
c.setTextColor (Color.orange);
c.print ("Name: ");
c.setTextColor (Color.white);
c.println (name [2]);
c.setTextColor (Color.orange);
c.print ("Phone Number: ");
c.setTextColor (Color.white);
c.println (phone [2]);
c.setTextColor (Color.orange);
c.print ("E-mail: ");
c.setTextColor (Color.white);
c.println (email [2]);
c.setTextColor (Color.orange);
c.print ("Address: ");
c.setTextColor (Color.white);
c.println (info1 [2]);
c.setTextColor (Color.orange);
c.print ("\t");
c.setTextColor (Color.white);
c.println (info2 [2]);
c.setTextColor (Color.orange);
c.print ("\t");
c.setTextColor (Color.white);
c.println (info3 [2]);
c.setTextColor (Color.blue);
c.print ("Go Back? ");
c.setTextColor (Color.white);
back = c.readLine ();
}
if (addname.equalsIgnoreCase ("Anjishnu Sarkar") == true || addname.equalsIgnoreCase ("Anjishnu") == true || addname.equalsIgnoreCase ("Sarkar Anjishnu") == true || addname.equalsIgnoreCase ("Sarkar, Anjishnu") == true)
{
c.clear ();
c.setTextColor (Color.black);
c.println ("Phantom Networks");
c.println ();
c.setTextColor (Color.orange);
c.print ("Name: ");
c.setTextColor (Color.white);
c.println (name [3]);
c.setTextColor (Color.orange);
c.print ("Phone Number: ");
c.setTextColor (Color.white);
c.println (phone [3]);
c.setTextColor (Color.orange);
c.print ("E-mail: ");
c.setTextColor (Color.white);
c.println (email [3]);
c.setTextColor (Color.orange);
c.print ("Address: ");
c.setTextColor (Color.white);
c.println (info1 [3]);
c.setTextColor (Color.orange);
c.print ("\t");
c.setTextColor (Color.white);
c.println (info2 [3]);
c.setTextColor (Color.orange);
c.print ("\t");
c.setTextColor (Color.white);
c.println (info3 [3]);
c.setTextColor (Color.blue);
c.print ("Go Back? ");
c.setTextColor (Color.white);
back = c.readLine ();
}
if (addname.equalsIgnoreCase ("Kushal Mehta") == true)
{
c.clear ();
c.setTextColor (Color.black);
c.println ("Phantom Networks");
c.println ();
c.setTextColor (Color.orange);
c.print ("Name: ");
c.setTextColor (Color.white);
c.println (name [4]);
c.setTextColor (Color.orange);
c.print ("Phone Number: ");
c.setTextColor (Color.white);
c.println (phone [4]);
c.setTextColor (Color.orange);
c.print ("E-mail: ");
c.setTextColor (Color.white);
c.println (email [4]);
c.setTextColor (Color.orange);
c.print ("Address: ");
c.setTextColor (Color.white);
c.println (info1 [4]);
c.setTextColor (Color.orange);
c.print ("\t");
c.setTextColor (Color.white);
c.println (info2 [4]);
c.setTextColor (Color.orange);
c.print ("\t");
c.setTextColor (Color.white);
c.println (info3 [4]);
c.setTextColor (Color.blue);
c.print ("Go Back? ");
c.setTextColor (Color.white);
back = c.readLine ();
}
if (addname.equalsIgnoreCase ("Shivam Skula") == true)
{
c.clear ();
c.setTextColor (Color.black);
c.println ("Phantom Networks");
c.println ();
c.setTextColor (Color.orange);
c.print ("Name: ");
c.setTextColor (Color.white);
c.println (name [5]);
c.setTextColor (Color.orange);
c.print ("Phone Number: ");
c.setTextColor (Color.white);
c.println (phone [5]);
c.setTextColor (Color.orange);
c.print ("E-mail: ");
c.setTextColor (Color.white);
c.println (email [5]);
c.setTextColor (Color.orange);
c.print ("Address: ");
c.setTextColor (Color.white);
c.println (info1 [5]);
c.setTextColor (Color.orange);
c.print ("\t");
c.setTextColor (Color.white);
c.println (info2 [5]);
c.setTextColor (Color.orange);
c.print ("\t");
c.setTextColor (Color.white);
c.println (info3 [5]);
c.setTextColor (Color.blue);
c.print ("Go Back? ");
c.setTextColor (Color.white);
back = c.readLine ();
}
if (addname.equalsIgnoreCase ("Fawaz Altaf Bahmany") == true)
{
c.clear ();
c.setTextColor (Color.black);
c.println ("Phantom Networks");
c.println ();
c.setTextColor (Color.orange);
c.print ("Name: ");
c.setTextColor (Color.white);
c.println (name [6]);
c.setTextColor (Color.orange);
c.print ("Phone Number: ");
c.setTextColor (Color.white);
c.println (phone [6]);
c.setTextColor (Color.orange);
c.print ("E-mail: ");
c.setTextColor (Color.white);
c.println (email [6]);
c.setTextColor (Color.orange);
c.print ("Address: ");
c.setTextColor (Color.white);
c.println (info1 [6]);
c.setTextColor (Color.orange);
c.print ("\t");
c.setTextColor (Color.white);
c.println (info2 [6]);
c.setTextColor (Color.orange);
c.print ("\t");
c.setTextColor (Color.white);
c.println (info3 [6]);
c.setTextColor (Color.blue);
c.print ("Go Back? ");
c.setTextColor (Color.white);
back = c.readLine ();
}
if (addname.equalsIgnoreCase ("Salamn Siddiqui") == true)
{
c.clear ();
c.setTextColor (Color.black);
c.println ("Phantom Networks");
c.println ();
c.setTextColor (Color.orange);
c.print ("Name: ");
c.setTextColor (Color.white);
c.println (name [7]);
c.setTextColor (Color.orange);
c.print ("Phone Number: ");
c.setTextColor (Color.white);
c.println (phone [7]);
c.setTextColor (Color.orange);
c.print ("E-mail: ");
c.setTextColor (Color.white);
c.println (email [7]);
c.setTextColor (Color.orange);
c.print ("Address: ");
c.setTextColor (Color.white);
c.println (info1 [7]);
c.setTextColor (Color.orange);
c.print ("\t");
c.setTextColor (Color.white);
c.println (info2 [7]);
c.setTextColor (Color.orange);
c.print ("\t");
c.setTextColor (Color.white);
c.println (info3 [7]);
c.setTextColor (Color.blue);
c.print ("Go Back? ");
c.setTextColor (Color.white);
back = c.readLine ();
}
if (addname.equalsIgnoreCase ("Muzammil Zain") == true)
{
c.clear ();
c.setTextColor (Color.black);
c.println ("Phantom Networks");
c.println ();
c.setTextColor (Color.orange);
c.print ("Name: ");
c.setTextColor (Color.white);
c.println (name [8]);
c.setTextColor (Color.orange);
c.print ("Phone Number: ");
c.setTextColor (Color.white);
c.println (phone [8]);
c.setTextColor (Color.orange);
c.print ("E-mail: ");
c.setTextColor (Color.white);
c.println (email [8]);
c.setTextColor (Color.orange);
c.print ("Address: ");
c.setTextColor (Color.white);
c.println (info1 [8]);
c.setTextColor (Color.orange);
c.print ("\t");
c.setTextColor (Color.white);
c.println (info2 [8]);
c.setTextColor (Color.orange);
c.print ("\t");
c.setTextColor (Color.white);
c.println (info3 [8]);
c.setTextColor (Color.blue);
c.print ("Go Back? ");
c.setTextColor (Color.white);
back = c.readLine ();
}
if (addname.equalsIgnoreCase ("Nippun Goel") == true)
{
c.clear ();
c.setTextColor (Color.black);
c.println ("Phantom Networks");
c.println ();
c.setTextColor (Color.orange);
c.print ("Name: ");
c.setTextColor (Color.white);
c.println (name [9]);
c.setTextColor (Color.orange);
c.print ("Phone Number: ");
c.setTextColor (Color.white);
c.println (phone [9]);
c.setTextColor (Color.orange);
c.print ("E-mail: ");
c.setTextColor (Color.white);
c.println (email [9]);
c.setTextColor (Color.orange);
c.print ("Address: ");
c.setTextColor (Color.white);
c.println (info1 [9]);
c.setTextColor (Color.orange);
c.print ("\t");
c.setTextColor (Color.white);
c.println (info2 [9]);
c.setTextColor (Color.orange);
c.print ("\t");
c.setTextColor (Color.white);
c.println (info3 [9]);
c.setTextColor (Color.blue);
c.print ("Go Back? ");
c.setTextColor (Color.white);
back = c.readLine ();
}
}
}
while (back.equalsIgnoreCase ("yes"));
}
if (option.equalsIgnoreCase ("Turn Off") == true)
if (option.equalsIgnoreCase ("Turn Off") == true)
{
c.clear ();
c.setTextColor (Color.black);
c.println ("Phantom Networks");
c.println ();
c.setTextColor (Color.darkGray);
c.println ("Thank you for choosing our service.");
c.println ();
c.println ("\tPhantom Network Staff");
c.setTextColor (Color.blue);
c.print ("CLosing Access ");
c.setTextColor (Color.black);
c.print (".");
for (long a = 0 ; a < 70000000 ; a++)
;
c.print (".");
for (long b = 0 ; b < 70000000 ; b++)
;
c.print (".");
for (long d = 0 ; d < 70000000 ; d++)
;
c.print (".");
for (long e = 0 ; e < 70000000 ; e++)
;
c.print (".");
for (long f = 0 ; f < 70000000 ; f++)
;
c.setTextColor (Color.green);
c.println ("Shutdown was successful");
c.setTextColor (Color.darkGray);
c.println ();
c.println ("Please press any key when you are ready");
c.getChar ();
c.close ();
}
}
while (search.equalsIgnoreCase ("go back"));
}
while (back.equalsIgnoreCase ("Go Back"));
}
}
while (option.equalsIgnoreCase ("log off"));
if (back.equalsIgnoreCase ("No") == true)
{
c.clear ();
c.println ("Phantom Networks");
c.println ();
c.println ("Thank you for choosing our service.");
for (long f = 0 ; f < 700000000 ; f++)
;
c.close ();
}
else if (enter.equals (user1) == true)
{
c.setTextColor (Color.black);
c.clear ();
c.println ("Phantom Networks");
c.println ();
c.println ("You have logged in as a guest.");
c.print ("Please enter your ");
c.setTextColor (Color.darkGray);
c.print ("name: ");
c.setTextColor (Color.black);
c.println ("__________");
c.setCursor (4, 24);
c.setTextColor (Color.white);
name = c.readString ();
c.println ();
c.setTextColor (Color.blue);
c.print ("Connecting ");
c.setTextColor (Color.black);
c.print (".");
for (long x = 0 ; x < 70000000 ; x++)
;
c.print (".");
for (long y = 0 ; y < 90000000 ; y++)
;
c.print (".");
for (long z = 0 ; z < 100000000 ; z++)
;
c.setTextColor (Color.green);
c.println (" Connected");
c.setTextColor (Color.blue);
c.print ("Gaining Access ");
c.setTextColor (Color.black);
c.print (".");
for (long a = 0 ; a < 90000000 ; a++)
;
c.print (".");
for (long b = 0 ; b < 110000000 ; b++)
;
c.print (".");
for (long d = 0 ; d < 115000000 ; d++)
;
c.print (".");
for (long e = 0 ; e < 20000000 ; e++)
;
c.print (".");
for (long f = 0 ; f < 150000000 ; f++)
;
c.setTextColor (Color.green);
c.println (" Access Granted");
c.setTextColor (Color.blue);
c.print ("Logging in");
c.setTextColor (Color.black);
c.print (".");
for (long f = 0 ; f < 250000000 ; f++)
;
c.print (".");
for (long f = 0 ; f < 350000000 ; f++)
;
c.print (".");
for (long f = 0 ; f < 300000000 ; f++)
;
c.print (".");
for (long f = 0 ; f < 295000000 ; f++)
;
{
String option2 = "", option3 = "", option4 = "", option5 = "", option6 = "";
do
{
do
{
c.setTextColor (Color.black);
c.clear ();
c.println ("Phantom Networks");
c.println ();
c.setTextColor (Color.blue);
c.println ("Menu");
c.println ("Make A Call");
c.println ("Text Message");
c.println ("Address Book");
c.println ("Log Off");
c.println ("Turn Off");
c.println ();
c.setTextColor (Color.white);
option = "";
option = c.readLine ();
c.setTextColor (Color.black);
if (option.equalsIgnoreCase ("Menu") == true)
{
do
{
c.clear ();
c.println ("Phantom Networks");
c.println ();
c.setTextColor (Color.blue);
c.println ("Message Log");
c.println ("Options");
c.println ();
c.setTextColor (Color.black);
c.print ("Go back? ");
c.setTextColor (Color.white);
back = c.readLine ();
c.setTextColor (Color.black);
if (option2.equalsIgnoreCase ("Calculator") == true)
{
do
{
c.clear ();
c.setTextColor (Color.black);
c.println ("Phantom Networks");
c.println ();
c.setTextColor (Color.orange);
c.println ("Volume");
c.println ("Go Back");
c.println ();
c.setTextColor (Color.white);
option3 = c.readLine ();
if (option3.equalsIgnoreCase ("Volume") == true)
{
do
{
c.clear ();
c.setTextColor (Color.black);
c.println ("Phantom Networks");
c.println ();
c.setTextColor (Color.orange);
c.println ("Square");
c.println ("Cylinder");
c.println ("Go Back");
c.println ();
c.setTextColor (Color.white);
option4 = c.readLine ();
if (option4.equalsIgnoreCase ("Square") == true)
|
|
|