Ethernet Shield to ENC28J60

I already have an ardunio shield using along with my UNO on my project. However i just bought the ENC28J60 to use the with my UNO.

I got the latest library for ENC28J60 GitHub - njh/EtherCard: EtherCard is an IPv4 driver for the ENC28J60 chip, compatible with Arduino IDE

Everything works using the example from the ethercard library when connected to the ENC28J60. now here is my issue I am using the code that is compatible(bulid) for the ethernet.h and not EtherCard.h
I have attached the code for your reference i am using for the ethernet.h

My question what do i need to change in the code to make it work with the ENC28j60

Yes i added #include <EtherCard.h> what else to i need to change

thank you in advance

WebServer_Relay.ino (14.6 KB)